Introduction - If you have any usage issues, please Google them yourself
This program reads a 24bpp, 8bpp or 4bpp Microsoft Windows (TM). BMP file and converts it into a C structure with the following information: the bitmap width, the bitmap height, the RGB color palette if the bitmap is 8bpp or 4bpp, an array of 32-bit values representing the scaled down (24bpp to 5:5:5 RGB) color values OR an array of 8-bit or 4-bit indices into the palette.
Packet : 19854787bmp2source.rar filelist
bmp2source.exe
bmp2source.cpp
ms_bmp.h