I'd like a minimal library that'll allow me to read/write/manipulate raster image formats, like BMP and PNG.
Written in C99 or C11 or otherwise portable.
Edit I need to:
- load bmp
- get bmp information like width, data, depth, etc
- access the BMP matrix data itself
- preferably dither down to 1 bit per pixel
- preferably save result to a file
Cross-platform for windows and linux (and android). The purpose is to read BMP (or PNG) data, maybe manipulate it (dither and horizontal padding - can be done later), and then push the data onto thermal printers using ESC/POS.