FreeImage.NET Class Library Reference
BITMAPINFOHEADERbiCompression Field |
Specifies the type of compression for a compressed bottom-up bitmap (top-down DIBs cannot be
compressed).
Value | Meaning |
---|---|
BI_RGB | An uncompressed format. |
BI_RLE8 | A run-length encoded (RLE) format for bitmaps with 8 bpp. The compression format is a 2-byte format consisting of a count byte followed by a byte containing a color index. |
BI_RLE4 | An RLE format for bitmaps with 4 bpp. The compression format is a 2-byte format consisting of a count byte followed by two word-length color indexes. |
BI_BITFIELDS | Specifies that the bitmap is not compressed and that the color table consists of three DWORD color masks that specify the red, green, and blue components, respectively, of each pixel. This is valid when used with 16- and 32-bpp bitmaps. |
BI_JPEG | Windows 98/Me, Windows 2000/XP: Indicates that the image is a JPEG image. |
BI_PNG | Windows 98/Me, Windows 2000/XP: Indicates that the image is a PNG image. |
Namespace: FreeImageAPI
Assembly: FreeImageNET (in FreeImageNET.dll) Version: 3.17.0.4 (3.17.0)
Syntax
See Also