Fixed: added compatibility code for libPNG 1.2.
Authored by: scuri 2014-02-20
Parent: [r419]
Child: [r421]