Png++ aims to provide a simple yet powerful C++ interface to libpng, the PNG reference implementation library. Using raw libpng in C++ may impose a serious challenge since lots of precautions must be taken to handle initialization/deinitialization of control structures as well as handling errors correctly. With png++ you can read or write PNG images just in a single line of C++ code.