Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func DecodeConfig ¶ added in v0.4.0
Types ¶
type Colorspace ¶ added in v0.4.0
type Colorspace uint8
const ( SRGB Colorspace = 0 Linear Colorspace = 1 )
type Image ¶ added in v0.4.0
type Image struct { Pix []byte Width int Height int Channels uint8 Colorspace Colorspace }
func DecodeIntoBuffer ¶ added in v0.4.0
Decode decodes QOI image data from r into dest, until all pixels are written. If dest cannot fit the image, an error is returned.
func (*Image) ColorModel ¶ added in v0.4.0
Click to show internal directories.
Click to hide internal directories.