Windows DIB Structure. More...
Data Fields | |
HGLOBAL | handle |
BYTE * | buffer |
int | free_buffer |
int | size |
BITMAPINFO * | bmi |
BITMAPINFOHEADER * | bmih |
RGBQUAD * | bmic |
BYTE * | bits |
int | palette_count |
int | bits_size |
int | line_size |
int | pad_size |
HGLOBAL _imDib::handle |
The windows memory handle
BYTE* _imDib::buffer |
The DIB as it is defined in memory
Free the memory buffer, used only for DIB section
int _imDib::size |
Full size in memory
BITMAPINFO* _imDib::bmi |
Bitmap Info = Bitmap Info Header + Palette
BITMAPINFOHEADER* _imDib::bmih |
Bitmap Info Header
RGBQUAD* _imDib::bmic |
Bitmap Info Colors = Palette
BYTE* _imDib::bits |
Bitmap Bits
number of colors in the palette
size in bytes of the Bitmap Bits
size in bytes of one line, includes padding
int _imDib::pad_size |
number of bytes remaining in the line, lines are in a word boundary