Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Converter ¶
type Converter interface {
// 转换
Convert(fileObj *os.File, params Params) (imageBuf bytes.Buffer, err error)
}
通用方法
type ImageConverterJPG ¶
type ImageConverterJPG struct {
}
func (ImageConverterJPG) IsFormat ¶
func (ImageConverterJPG) IsFormat(contentTypeName string) bool
type ImageConverterPNG ¶
type ImageConverterPNG struct {
}
Click to show internal directories.
Click to hide internal directories.