Jump to content
TNG Community

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


Jan Wessel

Recommended Posts

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


 

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...