
Specifies different bitmap compression methods.

**Module:** [aspose.imaging.fileformats.bmp](/imaging/python-net/aspose.imaging.fileformats.bmp/)

**Full Name:** aspose.imaging.fileformats.bmp.BitmapCompression

## **Members**
| **Member name** | **Description** |
| :- | :- |
| ALPHA_BITFIELDS | RGBA bit fields. Can be used only with 16 and 32-bit/pixel bitmaps. |
| BITFIELDS | RGB bit fields. Can be used only with 16 and 32-bit/pixel bitmaps. |
| DXT1 | DXT1 compression. The bitmap contains a texture. |
| JPEG | JPEG compression. The bitmap contains a JPEG image. |
| PNG | PNG compression. The bitmap contains a PNG image. |
| RGB | No compression. |
| RLE4 | RLE 4-bit/pixel compression. Can be used only with 4-bit/pixel bitmaps. |
| RLE8 | RLE 8-bit/pixel compression. Can be used only with 8-bit/pixel bitmaps. |
