PeachImage

PeachImage

PixelFormat Enum

Identifies the in-memory layout of a decoded Image’s pixel buffer.

public enum PixelFormat : System.Byte

Fields

Gray8 0

Single-channel 8-bit grayscale.

Rgb24 1

Three-channel 8-bit red/green/blue, tightly interleaved.

Rgba32 2

Four-channel 8-bit red/green/blue/alpha, tightly interleaved.

Cmyk32 3

Four-channel 8-bit cyan/magenta/yellow/key (black), tightly interleaved.

Gray16 4

Single-channel 16-bit grayscale, big-endian-neutral (native System.UInt16 byte order).

Rgb48 5

Three-channel 16-bit red/green/blue, tightly interleaved.

Rgba64 6

Four-channel 16-bit red/green/blue/alpha, tightly interleaved.

Ycck32 7

Four-channel 8-bit luma/blue-chroma/red-chroma/key, tightly interleaved, exactly as decoded from a JPEG YCCK frame with no color-space transform applied. No colorimetric meaning is imposed — see JpegDecoderOptions.DecodeRawYcck.