Documentation
¶
Index ¶
- func BytesToImage(data []byte) (image.Image, string, error)
- func Cover(top image.Image, bg image.Image, x0, y0, offsetX, offsetY int) *image.RGBA
- func Cut(img image.Image, x0 int, y0 int, x1 int, y1 int) (image.Image, error)
- func ReadImage(filePath string) (image.Image, error)
- func Resize(img image.Image, width int, height int) image.Image
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func BytesToImage ¶
BytesToImage receive image []byte, return image.Image
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.