Documentation
¶
Index ¶
- func ByteToImage(imgbyte []byte) (image.Image, string, error)
- func BytesToIoReader(img []byte) io.Reader
- func GetImgFromUrlToBytes(url string) (b []byte, filetype string, er error)
- func ImageToPaletted(img image.Image) *image.Paletted
- func IoReaderToBytes(reader io.Reader) ([]byte, error)
- func IoReaderToImage(reader io.Reader) (image.Image, string, error)
- func ResizeGifToGifs(srcFile io.Reader, width int, height int) (*gif.GIF, error)
- func ResizeImgToByteFromBytes(img []byte, filetype string, width int64) ([]byte, string, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetImgFromUrlToBytes ¶
func IoReaderToImage ¶
Turn ioreader to image
func ResizeGifToGifs ¶
Resize the gif to another thumbnail gif
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.