Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ImageUtils ¶
type ImageUtils struct{}
func NewImgUtils ¶
func NewImgUtils() *ImageUtils
func (*ImageUtils) Resize ¶
func (i *ImageUtils) Resize(ro ResizeOptions) error
Resize 根据提供的 ResizeOptions 调整图像大小
func (*ImageUtils) WriteBase64ToFile ¶
func (i *ImageUtils) WriteBase64ToFile(base64Str, fullPath string, overwrite bool) error
WriteBase64ToFile 将Base64编码的图片字符串写入文件
Click to show internal directories.
Click to hide internal directories.