[][src]Crate pix

Pixel and Raster image manipulation 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.

Raster

Raster image representing a two-dimensional array of pixels.

Region

Raster location and dimensions

Rgb

RGB pixel Format, with optional Alpha channel.

Srgb

sRGB pixel Format.

Translucent

Alpha channel for translucent or transparent pixels and Rasters.

Traits

Alpha

Channel for defining the opacity of pixels.

Channel

One component of a pixel Format.

Format

Pixel format determines Channels and bit depth.

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.

Srgb8
Srgb16
Srgb32
Srgba8
Srgba16
Srgba32