Fix png images causing libpng 1.6.3 to print warnings.
Merge pull request #70 from ospalh/feature-fix-png-warnings

Fix png images causing libpng 1.6.3 to print warnings.