pnglite is a C library for loading PNG images. It was created as a substitute for libpng in situations when libpng is more than enough. It currently requires zlib for inflate and crc checking and it can read the most common types of PNG images. The library has a small and simple to use interface.
As of 0.1.17 pnglite also supports writing PNG images.
Current supported PNG images are truecolor, trucolor with alpha, greyscale and greyscale with alpha. All of these can be read with 8 or 16 bit color depth. No interlacing is supported at the moment.
pnglite is distributed under the libpng/zlib license. See pnglite.h for further details.
See pnglite.h for documentation, it's really really simple.
pnglite is written by Daniel Karling with ideas, feedback and contribution from Magnus Auvinen. Feedback is more than welcome at daniel.karling+pnglite@gmail.com
http://www.libpng.org - Official PNG library