/bmp2src

The tool for converting BMP image to C source file

Primary LanguageCGNU Lesser General Public License v3.0LGPL-3.0

bmp2src

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

Supported:

  • direct 16-bit mode
  • 4 and 8-bit with palette

SYNTAX:

  • bmp2src image.bmp >image.h
  • bmp2src -2 image.bmp >image.h (forced 2-bit mode for 8-bit BMP)