# Functions
Decode decodes an image that has been encoded in a registered format.
DecodeConfig decodes the color model and dimensions of an image that has been encoded in a registered format.
NewAlpha returns a new Alpha image with the given bounds.
NewAlpha16 returns a new Alpha16 image with the given bounds.
NewCMYK returns a new CMYK image with the given bounds.
NewGray returns a new Gray image with the given bounds.
NewGray16 returns a new Gray16 image with the given bounds.
NewNRGBA returns a new NRGBA image with the given bounds.
NewNRGBA64 returns a new NRGBA64 image with the given bounds.
NewNYCbCrA returns a new NYCbCrA image with the given bounds and subsample ratio.
NewPaletted returns a new Paletted image with the given width, height and palette.
NewRGBA returns a new RGBA image with the given bounds.
NewRGBA64 returns a new RGBA64 image with the given bounds.
No description provided by the author
NewYCbCr returns a new YCbCr image with the given bounds and subsample ratio.
Pt is shorthand for Point{X, Y}.
Rect is shorthand for Rectangle{Pt(x0, y0), Pt(x1, y1)}.
RegisterFormat registers an image format for use by Decode.
# Constants
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
# Variables
Black is an opaque black uniform image.
ErrFormat indicates that decoding encountered an unknown format.
Opaque is a fully opaque uniform image.
Transparent is a fully transparent uniform image.
White is an opaque white uniform image.
ZP is the zero Point.
ZR is the zero Rectangle.
# Structs
Alpha is an in-memory image whose At method returns color.Alpha values.
Alpha16 is an in-memory image whose At method returns color.Alpha16 values.
CMYK is an in-memory image whose At method returns color.CMYK values.
Config holds an image's color model and dimensions.
Gray is an in-memory image whose At method returns color.Gray values.
Gray16 is an in-memory image whose At method returns color.Gray16 values.
NRGBA is an in-memory image whose At method returns color.NRGBA values.
NRGBA64 is an in-memory image whose At method returns color.NRGBA64 values.
NYCbCrA is an in-memory image of non-alpha-premultiplied Y'CbCr-with-alpha colors.
Paletted is an in-memory image of uint8 indices into a given palette.
A Point is an X, Y coordinate pair.
A Rectangle contains the points with Min.X <= X < Max.X, Min.Y <= Y < Max.Y.
RGBA is an in-memory image whose At method returns color.RGBA values.
RGBA64 is an in-memory image whose At method returns color.RGBA64 values.
Uniform is an infinite-sized Image of uniform color.
YCbCr is an in-memory image of Y'CbCr colors.
# Interfaces
Image is a finite rectangular grid of color.Color values taken from a color model.
PalettedImage is an image whose colors may come from a limited palette.
# Type aliases
YCbCrSubsampleRatio is the chroma subsample ratio used in a YCbCr image.