[][src]Crate pix

Pixel and Raster image crate.

Rasters are made up of pixels in one of many possible Formats.

Structs

Ch8

8-bit color Channel.

Ch16

16-bit color Channel

Ch32

32-bit color Channel

Gray

Gray pixel Format, with optional Alpha channel.

Mask

Translucent alpha mask pixel Format.

Opaque

Alpha Channel for fully opaque pixels and Rasters.

Palette

Color table for use with indexed Rasters.

Raster

Raster image representing a two-dimensional array of pixels.

RasterBuilder

Builder for Raster images.

RasterIter

Iterator for pixels within a Raster.

Region

Location / dimensions of pixels relative to a Raster.

Rgb

RGB pixel Format, with optional Alpha channel.

Translucent

Alpha channel for translucent or transparent pixels and Rasters.

Enums

AlphaMode

Mode for handling associated alpha.

GammaMode

Mode for handling gamma encoding / decoding.

Traits

Alpha

Channel for defining the opacity of pixels.

Channel

One component of a pixel Format.

Format

Pixel format determines Channels and bit depth.

PixModes

Pixel modes are settings for AlphaMode and GammaMode.

Type Definitions

Gray8

Opaque 8-bit Gray pixel Format.

Gray16

Opaque 16-bit Gray pixel Format.

Gray32

Opaque 32-bit Gray pixel Format.

GrayAlpha8

Translucent 8-bit Gray pixel Format.

GrayAlpha16

Translucent 16-bit Gray pixel Format.

GrayAlpha32

Translucent 32-bit Gray pixel Format.

Mask8

Translucent 8-bit alpha Mask pixel Format.

Mask16

Translucent 16-bit alpha Mask pixel Format.

Mask32

Translucent 32-bit alpha Mask pixel Format.

Rgb8

Opaque 8-bit Rgb pixel Format.

Rgb16

Opaque 16-bit Rgb pixel Format.

Rgb32

Opaque 32-bit Rgb pixel Format.

Rgba8

Translucent 8-bit Rgb pixel Format.

Rgba16

Translucent 16-bit Rgb pixel Format.

Rgba32

Translucent 32-bit Rgb pixel Format.