libpng warning: iCCP: known incorrect sRGB profile

参考  http://www.cocos2d-x.org/forums/6/topics/49093 解决

I got the following warnings in console when running your app that uses cocos2d-x 3.0
convert: iCCP: known incorrect sRGB profile 'flash.png' @ warning/png.c/MagickPNGWarningHandler/1830.

If you get similar warnings, try running the following bash command
find . -type f -name "*.png" -exec convert {} -strip {} \;

This will use ImageMagick to strip and fix all png files (usually Photoshop and some other editors create bad iCCP chunks)





posted @ 2014-04-28 12:39  iiixxxiii  阅读(2391)  评论(0编辑  收藏  举报