Click or drag to resize

PixelFormat Enumeration

An enumeration of supported pixel formats.

Namespace: SautinSoft.Document
Assembly: SautinSoft.Document (in SautinSoft.Document.dll) Version: 2024.11.20
Syntax
public enum PixelFormat
Members
Member nameValueDescription
Default0 Pixel format that is best suited for the particular operation.
Bgr1010101 Bgr101010 is a sRGB format with 32 bits per pixel (BPP). Each color channel (blue, green, and red) is allocated 10 bits per pixel (BPP).
Bgra322 Bgra32 is a sRGB format with 32 bits per pixel (BPP). Each channel (blue, green, red, and alpha) is allocated 8 bits per pixel (BPP).
Gray83 Gray8 pixel format which displays an 8 bits-per-pixel grayscale channel, allowing 256 shades of gray.
Pbgra324 Pbgra32 is a sRGB format with 32 bits per pixel (BPP). Each channel (blue, green, red, and alpha) is allocated 8 bits per pixel (BPP). Each color channel is pre-multiplied by the alpha value.
Prgba128Float5 Prgba128Float is a ScRGB format with 128 bits per pixel (BPP). Each channel (red, green, blue, and alpha) is allocated 32 bits per pixel (BPP). Each color channel is pre-multiplied by the alpha value. This format has a gamma of 1.0.
Rgb128Float6 Rgb128Float is a ScRGB format with 128 bits per pixel (BPP). Each color channel is allocated 32 BPP. This format has a gamma of 1.0.
Rgb247 Rgb24 is a sRGB format with 24 bits per pixel (BPP). Each color channel (red, green, and blue) is allocated 8 bits per pixel (BPP).
Rgba328 Rgba32 is a sRGB format with 32 bits per pixel (BPP). Each color channel (red, green, blue, and alpha) is allocated 8 bits per pixel (BPP). This format has a gamma of 1.0.
Rgb5659 Rgb565 is a sRGB format with 16 bits per pixel (BPP). Each color channel (red, green, and blue) is allocated 5, 6, and 5 bits per pixel (BPP) respectively.
Rgba128Float10 Rgba128Float is a ScRGB format with 128 bits per pixel (BPP). Each color channel is allocated 32 bits per pixel (BPP). This format has a gamma of 1.0.
Rgba6411 Rgba64 is an sRGB format with 64 bits per pixel (BPP). Each channel (red, green, blue, and alpha) is allocated 16 bits per pixel (BPP). This format has a gamma of 1.0.
See Also