I've have a handle of bitmap (hBitmap), with 4 entries color table, how can i save this info. into bitmap file ?
Printable View
I've have a handle of bitmap (hBitmap), with 4 entries color table, how can i save this info. into bitmap file ?
HBITMAP structure has pointer to actual bits, so you can write it file by WriteFile. Do not forget to save palette.
regards,
Serge