package
0.0.0-20130121074735-1d03baafba06
Repository: https://github.com/icattlecoder/go.git
Documentation: pkg.go.dev

# Packages

Package color implements a basic color library.
Package draw provides image composition functions.
Package gif implements a GIF image decoder.
Package jpeg implements a JPEG image decoder and encoder.
Package png implements a PNG image decoder and encoder.

# 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 with the given bounds.
NewAlpha16 returns a new Alpha16 with the given bounds.
NewGray returns a new Gray with the given bounds.
NewGray16 returns a new Gray16 with the given bounds.
NewNRGBA returns a new NRGBA with the given bounds.
NewNRGBA64 returns a new NRGBA64 with the given bounds.
NewPaletted returns a new Paletted with the given width, height and palette.
NewRGBA returns a new RGBA with the given bounds.
NewRGBA64 returns a new RGBA64 with the given bounds.
No description provided by the author
NewYCbCr returns a new YCbCr 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

# 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.Alpha64 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.
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.