Remarks: The format is important when modifying the bytes directly via Bitmap.Lock().
Enum values
| Name | Value | Description |
|---|---|---|
| Format32bppRgb | 0 | 32-bits (4 bytes) per pixel, ordered by an Empty byte in the highest order, followed by Red, Green, and Blue. |
| Format24bppRgb | 1 | 24-bits (3 bytes) per pixel, ordered by Red in the highest order, followed by Green, and Blue. |
| Format32bppRgba | 2 | 32-bits (4 bytes) per pixel, ordered by an Alpha byte in the highest order, followed by Red, Green, and Blue. |