[STEPS TO FIX] libpng warning: iCCP: known incorrect sRGB profile
|Reported by:||Adrián Chaves||Owned by:||ben|
|Priority:||Should Have||Milestone:||Alpha 18|
This problem has been reported in the forums: http://www.wildfiregames.com/forum/index.php?showtopic=17664&hl=srgb#entry275716
For information about the underlying cause: https://wiki.archlinux.org/index.php/Libpng_errors
I’m not providing a patch as it would be a 1.3 GiB patch. However, I can provide you with a command-line to fix it. Run this on a Linux box with Image Magick installed (provides the “convert” command):
find . -name "*.png" -print0 | while read -d $'\0' file; do convert "$file" -strip "$file"; done
As a side effect, affected images will see its size slightly reduced (0-2%).