Thursday, April 21, 2011

Has anyone seen these errors before?

These errors keep popping up when ever I try to load images.

libpng warning: Incomplete compressed datastream in iCCP chunk
libpng warning: Profile size field missing from iCCP chunk

It looks like other people have had this error come up. But I cant find hardly anything relating to pygame or python.


  1. That is a tough error. Very little info out there about it. This post is on the second page when searching for that error in fact..

    It sounds like it is pointing out a problem with either your version of libpng (upgrade if there is a newer version?) or the image(s) it is trying to load. Is the image one that you made? Maybe try opening it in a paint program and resaving it?

    Definitely a tough one...

  2. Yeah maybe its just one of those errors that goes away after awhile.