今天引入了几个png的图片。发现如下错误!
While reading /XXX/XXX/XXX/img1.png pngcrush caught libpng error:
原因,就是引入的png图片,图片内部编码不符合真正的png格式。(很可能就是jpg图片修改了一下后缀名)。
解决方法也很简单了,就是用正宗png。
While reading /XXX/XXX/XXX/img1.png pngcrush caught libpng error: