Specifies the type of compression for a compressed bottom-up bitmap (top-down DIBs cannot be compressed). This member can be one of the following values. BI_RGB An uncompressed format. 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 of each pixel. This is valid when used with 16- and 32-bpp bitmaps. BI_ALPHABITFIELDS Specifies that the bitmap is not compressed and that the color table consists of four DWORD color masks that specify the red, green, blue, and alpha components of each pixel. This is valid when used with 16- and 32-bpp bitmaps. You can OR any of the values in the above table with BI_SRCPREROTATE to specify that the source DIB section has the same rotation angle as the destination.
Syntax
'Declaration
Public biCompression As Integer
'Usage
Dim instance As BITMAPINFOHEADER
Dim value As Integer
value = instance.biCompression
instance.biCompression = value
public:
int biCompression
Requirements
See Also