Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ImageEmptyErr = errors.New("image is empty")
View Source
var ImageMissingDataErr = errors.New("missing image data")
Functions ¶
This section is empty.
Types ¶
type JPEGImageData ¶
type JPEGImageData interface { Get() image.Image ToBytes() ([]byte, error) ToBytesWithQuality(imageQuality int) ([]byte, error) ToBase64() (string, error) ToBase64WithQuality(imageQuality int) (string, error) ToBase64Data() (string, error) ToBase64DataWithQuality(imageQuality int) (string, error) SaveToFile(filepath string, quality int) error }
JPEGImageData .
Click to show internal directories.
Click to hide internal directories.