img#
A very small library for reading image files, consisting of a single header and C file. Tested on Clang and GCC, might compile on others too.
The primary purpose of this library is for me to figure out the inner workings of various image formats, but also an excuse for me to write C code. This also serves as a simple repository to figure out Tangled.
In general, you should use something like stb_image instead.
Supported formats#
- Quite OK Image
- Multiple PBM formats: PBM, PGM, PPM
- Windows BMP (no compression)
- Truevision TGA (no RLE)