Documentation
¶
Overview ¶
Package imgio provides basic image file input/output.
Index ¶
Constants ¶
View Source
const ( JPEG = iota PNG )
Supported image encoding types
Variables ¶
This section is empty.
Functions ¶
func Encode ¶
Encode writes an image in the specified format.
Usage example:
// Encode an image to a writer in PNG format, // returns an error if something went wrong err := Encode(outFile, img, bild.PNG)
Types ¶
Click to show internal directories.
Click to hide internal directories.