Fix libpng warning: iCCP: known incorrect sRGB profile

2,493 views
Skip to first unread message

Gouz

unread,
May 21, 2015, 11:48:38 AM5/21/15
to kivy-...@googlegroups.com
To fix that: < libpng warning: iCCP: known incorrect sRGB profile > means that you should create your PNG with a proper sRGB Profile.

Most propably you are using Photoshop but because I couldn't make that work with a "valid" sRGB, I used GIMP instead to do the job (as posted here: https://wiki.archlinux.org/index.php/Libpng_errors)

Open your png and go to Image > Mode > Assign Color Profile.
Choose RGB workspace(sRGB built-in) (even though you might notice you are already using that) and apply that.
Replace your png.

At least that is what worked for me.

If you have tons of png's .. you should use python I guess to locate the "bad ones" by catching that exception.
BTW, leaving your PNG's as they are, want affect anything, so no worries.

Cheers Ladies
Reply all
Reply to author
Forward
0 new messages