libpng Warning

BlitzMax Forums/BlitzMax Programming/libpng Warning

Ant(Posted 2005) [#1]
Hi, I'm frequently getting this warning:
'libpng Warning: Incomplete compressed datastream in iCCP chunk'

Does anyone know what its caused by - is it the way I'm saving PNG's or seomthing?
Thanks for any help


Ant(Posted 2005) [#2]
No one else had this? :-(


Yan(Posted 2005) [#3]
I've never experienced this, but you could try using the latest version of libpng and see if that helps (remember to back up first).


tonyg(Posted 2005) [#4]
Lots of hits on google with lots of suggestions it's a libpng issue.
There's a pngtest.png in the libpng.mod directory. Try with that. Basically if it's only your pngs affected then it's probably how your saving them.


Ant(Posted 2005) [#5]
ok ,thanks very much for the help.


Tom(Posted 2005) [#6]
I get that with pngs saved from Photoshop 5.5, I guess the lib max uses is a newer version and my PS is out of date.


AdrianT(Posted 2005) [#7]
yeah older PNG's do that in Bmax.


FlameDuck(Posted 2005) [#8]
And in everything else.

Get IrfanView. That'll save PNGs properly, and has a handy "batch conversion" tool.