Versions in this module Expand all Collapse all v0 v0.0.1 Mar 21, 2021 Changes in this version + type ConvertInfo struct + DstFormat ImgFormat + DstPath string + Height uint + MDate time.Time + Quality int + SrcFormat ImgFormat + SrcPath string + Width uint + func (c *ConvertInfo) Convert() error + type ImgFormat int + const JPG + const PNG + const UnsupportedImg + func SupportImgFormat(imgPath string) (ImgFormat, error) + func ToImgForm(format string) (ImgFormat, error) + func (i ImgFormat) Ext() string + func (i ImgFormat) String() string