Specifies the type of compression for a compressed bottom-up bitmap (top-down DIBs cannot be compressed).
ValueMeaning
BI_RGBAn uncompressed format.
BI_RLE8A 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_RLE4An 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_BITFIELDSSpecifies 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_JPEGWindows 98/Me, Windows 2000/XP: Indicates that the image is a JPEG image.
BI_PNGWindows 98/Me, Windows 2000/XP: Indicates that the image is a PNG image.

Namespace:  FreeImageAPI
Assembly:  FreeImageNET (in FreeImageNET.dll)

Syntax

C#
public uint biCompression
Visual Basic (Declaration)
Public biCompression As UInteger
Visual C++
public:
unsigned int biCompression

Version Information

FreeImage.NET

Supported in: 3.11.0, 3.12.0, 3.13.0, 3.13.1

See Also