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)

上一篇:Chrome Vue Devtools插件安装和使用


下一篇:Python3学习之路~5.12 hashlib & hmac & md5 & sha模块