Enum PixelFormat
Specifies the format of the color data for each pixel in an image.
Namespace: DRIT.Drawing.Enums
Assembly: DRIT.Drawing.dll
Syntax
public enum PixelFormat
Fields
| Name | Description |
|---|---|
| Alpha | Alpha channel present. |
| Canonical | Canonical pixel format. |
| DontCare | Pixel format is not important. |
| Extended | Extended pixel format. |
| Format16bppArgb1555 | 16 bits per pixel; 1 bit for alpha, 5 bits each for red, green, and blue. |
| Format16bppGrayScale | 16 bits per pixel grayscale. |
| Format16bppRgb555 | 16 bits per pixel; 5 bits each for red, green, and blue; 5 bits for alpha. |
| Format16bppRgb565 | 16 bits per pixel; 5 bits for red, 6 bits for green, 5 bits for blue. |
| Format1bppIndexed | 1 bit per pixel indexed color. |
| Format24bppRgb | 24 bits per pixel; 8 bits each for red, green, and blue. |
| Format32bppArgb | 32 bits per pixel; 8 bits each for alpha, red, green, and blue. |
| Format32bppPArgb | 32 bits per pixel; 8 bits each for red, green, blue, and alpha; premultiplied. |
| Format32bppRgb | 32 bits per pixel; 8 bits each for red, green, and blue. |
| Format48bppRgb | 48 bits per pixel; 16 bits each for red, green, and blue. |
| Format4bppIndexed | 4 bits per pixel indexed color. |
| Format64bppArgb | 64 bits per pixel; 16 bits each for alpha, red, green, and blue. |
| Format64bppPArgb | 64 bits per pixel; 16 bits each for red, green, blue, and alpha; premultiplied. |
| Format8bppIndexed | 8 bits per pixel indexed color. |
| Gdi | GDI-supported pixel format. |
| Indexed | Indexed color format. |
| Max | Maximum value for pixel format enumeration. |
| PAlpha | Premultiplied alpha format. |
| Undefined | Undefined pixel format. |