imDib

\brief Windows DIB Structure * * \par * Handles a DIB in memory. \n * The DIB is stored in only one buffer. * The secondary members are pointers to the main buffer. * \ingroup dib

Members

Variables

bits
BYTE* bits;

< Bitmap Bits

bits_size
int bits_size;

< size in bytes of the Bitmap Bits

bmi
BITMAPINFO* bmi;

< Bitmap Info = Bitmap Info Header + Palette

bmic
RGBQUAD* bmic;

< Bitmap Info Colors = Palette

bmih
BITMAPINFOHEADER* bmih;

< Bitmap Info Header

buffer
BYTE* buffer;

< The DIB as it is defined in memory

free_buffer
int free_buffer;

< Free the memory buffer, used only for DIB section

handle
HGLOBAL handle;

< The windows memory handle

is_reference
int is_reference;

< only a reference, do not free pointer

line_size
int line_size;

< size in bytes of one line, includes padding

pad_size
int pad_size;

< number of bytes remaining in the line, lines are in a word boundary

palette_count
int palette_count;

< number of colors in the palette

size
int size;

< Full size in memory

Meta