{{< psd/tize >}}
## BitmapCompression enumeration

Specifies different bitmap compression methods.

```csharp
public enum BitmapCompression : uint
```

### Values

| Name | Value | Description |
| --- | --- | --- |
| Rgb | `0` | No compression. |
| Rle8 | `1` | RLE 8-bit/pixel compression. Can be used only with 8-bit/pixel bitmaps. |
| Rle4 | `2` | RLE 4-bit/pixel compression. Can be used only with 4-bit/pixel bitmaps. |
| Bitfields | `3` | RGB bit fields. Can be used only with 16 and 32-bit/pixel bitmaps. |
| Jpeg | `4` | JPEG compression. The bitmap contains a JPEG image. |
| Png | `5` | PNG compression. The bitmap contains a PNG image. |
| AlphaBitfields | `6` | RGBA bit fields. Can be used only with 16 and 32-bit/pixel bitmaps. |
| Dxt1 | `827611204` | DXT1 compression. The bitmap contains a texture. |

### See Also

* namespace [Aspose.PSD.FileFormats.Bmp](../../aspose.psd.fileformats.bmp/)
* assembly [Aspose.PSD](../../)


