It is a mistake to enable the simplified API without enabling sRGB and gAMA as well. In libpng-1.6.3 we will attempt to prevent that condition with appropriate dependencies.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Thanks. Patched in the libpng16 branch of the GIT repo. There are similar situations with cHRM and gAMA which I also patched.
I'm not sure how well the simplified interface will work with sRGB and gAMA not supported, though.
It is a mistake to enable the simplified API without enabling sRGB and gAMA as well. In libpng-1.6.3 we will attempt to prevent that condition with appropriate dependencies.
Fixed in libpng-1.6.2, thanks.