The tool for converting 4/8/24 bit BMP image generated by Irfanview to C source file for AVR/STM32/ESP8266 and other MCUs
Under Windows use tcc to compile
- direct 16-bit mode
- 4 and 8-bit with palette
- bmp2src image.bmp >image.h
- bmp2src -2 image.bmp >image.h (forced 2-bit mode for 8-bit BMP)