Jump to content
TNG Community
Jan Wessel

libpng warning: iCCP: known incorrect sRGB profile (Solved)

Recommended Posts

Jan Wessel

libpng warning: iCCP: known incorrect sRGB profile (solved)

I had lots of these warnings in the apache error log. 
After some Googling I found that it could have something to do with a color profile in .png files.
Some changes in libpng version 1.6+ cause it to issue a warning or even not work correctly with the original HP/MS sRGB profile, leading to the following stderr:
libpng warning: iCCP: known incorrect sRGB profile

So I used Graphic Converter (https://www.lemkesoft.de/) (I'm on Mac OS) and sanatised (i.e. removed EXIF, IPTC etc) all the PNG files in the /img folder.
So far I have not seen this warning anymore.

See also:
https://wiki.archlinux.org/index.php/Libpng_errors

Just to share if someone has seen this too in his logfile and want to get rid of it.

Jan


 

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×