# PixelFormat enum

Namespace: [Eto.Drawing](https://eto.picoe.ca/api/namespace/eto.drawing.md) · Assembly: [Eto](https://eto.picoe.ca/api/assembly/eto.md)

```cs
public enum PixelFormat
```

Format of bytes used in a [Bitmap](https://eto.picoe.ca/api/type/eto.drawing.bitmap.md)

**Remarks:** The format is important when modifying the bytes directly via [Bitmap.Lock()](https://eto.picoe.ca/api/type/eto.drawing.bitmap/lock.md).

## 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. |
