An enumeration of supported pixel formats.
Namespace: SautinSoft.DocumentAssembly: SautinSoft.Document (in SautinSoft.Document.dll) Version: 2024.11.20
Syntax Public Enumeration PixelFormat
Members Member name | Value | Description |
---|
Default | 0 |
Pixel format that is best suited for the particular operation.
|
Bgr101010 | 1 |
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).
|
Bgra32 | 2 |
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).
|
Gray8 | 3 |
Gray8 pixel format which displays an 8 bits-per-pixel grayscale channel, allowing 256 shades of gray.
|
Pbgra32 | 4 |
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.
|
Prgba128Float | 5 |
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.
|
Rgb128Float | 6 |
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.
|
Rgb24 | 7 |
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).
|
Rgba32 | 8 |
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.
|
Rgb565 | 9 |
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.
|
Rgba128Float | 10 |
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.
|
Rgba64 | 11 |
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