Documentation ¶
Overview ¶
Package imgio provides basic image file input/output.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Open ¶
Open loads and decodes an image from a file and returns it.
Usage example:
// Decodes an image from a file with the given filename // returns an error if something went wrong img, err := Open("exampleName")
Types ¶
type Encoder ¶
Encoder encodes the provided image and writes it
func JPEGEncoder ¶
JPEGEncoder returns an encoder to JPEG given the argument 'quality'
Click to show internal directories.
Click to hide internal directories.