Bad PNG Graphics

BlitzMax Forums/BlitzMax Programming/Bad PNG Graphics

John G(Posted 2016) [#1]
Hello. I've been wrestling with some flakey PNG graphics for awhile. Now trying BlitzMaxNG (WIN, 32 bit, 04/13/2016), I am getting these messages:

libpng warning: cHRM: invalid chromaticities
libpng warning: iCCP: known incorrect sRGB profile
libpng warning: iCCP: profile 'ICC Profile': 1000000h: invalid rendering intent

What are these messages trying to tell me? Thanks.


Floyd(Posted 2016) [#2]
No idea, but a little googling suggests that later versions of libpng have become stricter about PNGs obeying all formatting rules.

Suggested fixes:

1. Those are just warnings, ignore them.
2. Use a tool like ImageMagick to "convert" the images, in this case from .png to .png, should fix errors in the process.


John G(Posted 2016) [#3]
Thanks Floyd.