PNGLite is a simple, lightweight C library for decoding PNG images with no dependencies. It's designed for simplicity and ease of integration.
- Loads 8-bit paletted PNGs (indexed colour)
- Loads all other standard PNG types (greyscale, truecolour, alpha variants)
- No dependencies
- Easy to integrate and build
- A C compiler supporting the C99 standard or later (for example, gcc or clang)
- CMake (get it at CMake)
Compile with:
cmake ..
makeBuilding as a shared library:
cmake -DBUILD_SHARED_LIBS=ON ..
make