Documentation ¶
Index ¶
- func ImageToWriter(img image.Image, w io.Writer, format ImageFormat) error
- func IsImage(filename string) bool
- func ReaderToImage(r io.Reader) (image.Image, error)
- func ResizeImageToChan(imageChan chan<- image.Image, semaphore semaphore.Semaphore, ...)
- func ResizeMonitor(imageChan chan image.Image, wg *sync.WaitGroup)
- type Algorithm
- type ImageFormat
- type ImageSize
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ImageToWriter ¶
func ResizeImageToChan ¶
Types ¶
type ImageFormat ¶
type ImageFormat string
const ( Jpeg ImageFormat = "jpeg" Png ImageFormat = "png" Gif ImageFormat = "gif" Webp ImageFormat = "webp" )
func GetImageFormat ¶
func GetImageFormat(filename string) ImageFormat
Click to show internal directories.
Click to hide internal directories.