ColorFormat Enum
NuGet: GHIElectronics.TinyCLR.Drawing
Assembly: GHIElectronics.TinyCLR.Drawing
Namespace: System.Drawing
Specifies the bits-per-pixel layout of color data.
public enum ColorFormat
Fields
| Name | Value | Description |
|---|---|---|
Rgb8888 | 0 | 32 bits per pixel (8 bits each for alpha, red, green, blue). |
Rgb888 | 1 | 24 bits per pixel (8 bits each for red, green, blue). |
Rgb565 | 2 | 16 bits per pixel (5 red, 6 green, 5 blue). |
Rgb444 | 3 | 12 bits per pixel (4 bits each for red, green, blue). |
Rgb332 | 4 | 8 bits per pixel (3 red, 3 green, 2 blue). |