libpng/contrib/pngminim
..
decoder
encoder
preader
README

This demonstrates the use of PNG_USER_CONFIG, pngusr.h and pngusr.dfa
to build minimal decoder, encoder, and progressive reader applications.

See the individual README and pngusr.dfa files for more explanation.