libpng-warning-iccp-known-incorrect-srgb-profile 警告问题
来源:互联网 发布:罗马军团 知乎 编辑:程序博客网 时间:2024/05/13 12:49
Libpng-1.6 is more stringent about checking ICC profiles than previous versions. You can ignore the warning. To get rid of it, remove the iCCP chunk from the PNG image.
Some applications treat warnings as errors; if you are using such an application you do have to remove the chunk. You can do that with any of a variety of PNG editors such as ImageMagick'sconvert in.png out.png
.
To remove the invalid iCCP chunk from all of the PNG files in a folder (directory), you can use ImageMagick'smogrify *.png
, provided that your ImageMagick was built with libpng16 (runconvert -list format | grep PNG
to be sure of that).
If you'd like to find out which files need to be fixed instead of blindly processing all of them, you can run mypngcrush -n -q *.png
where the "-n
" means don't rewrite the files and "-q
" means suppress most of the output except for warnings. Sorry, there's no option yet in pngcrush to suppress everything but the warnings.
Binary Releases of ImageMagick are here
For Android Projects (Android Studio) navigate into res folder.
For example:C:\AndroidProjects\{your_project_folder}\app\src\main\res\drawable-hdpi\mogrify *.png
参照上面语句把Png 格式处理一下就可以了
- libpng-warning-iccp-known-incorrect-srgb-profile 警告问题
- 警告 libpng warning: iCCP: known incorrect sRGB profile
- 解决QT警告:libpng warning: iCCP: known incorrect sRGB profile
- libpng warning: iCCP: known incorrect sRGB profile
- libpng warning: iCCP: known incorrect sRGB profile
- libpng warning: iCCP: known incorrect sRGB profile
- libpng warning: iCCP: known incorrect sRGB profile
- 解决libpng warning: iCCP: known incorrect sRGB profile问题
- Libpng errors --- libpng warning: iCCP: known incorrect sRGB profile
- 解决Cocos客户端libpng warning:iCCp:known incorrect sRGB profile
- 自学QT之libpng warning: iCCP: known incorrect sRGB profile
- Qt :libpng warning: iCCP: known incorrect sRGB profile警告信息之解决方法
- Qt :libpng warning: iCCP: known incorrect sRGB profile警告信息之解决方法
- 解决Qt :libpng warning: iCCP: known incorrect sRGB profile警告信息
- Qt :libpng warning: iCCP: known incorrect sRGB profile警告信息之解决方法
- Qt:解决使用png图片时,报错libpng warning: iCCP: known incorrect sRGB profile的问题
- Qt:解决使用png图片时,报错libpng warning: iCCP: known incorrect sRGB profile的问题
- 解决 Qt 使用 PNG 图片时报错:libpng warning: iCCP: known incorrect sRGB profile
- linux 3.6 启动源码分析(三) setup_arch
- Java泛型中E、T、K、V等的含义
- 浅谈 HTML
- JSON之前台String和JSON对象的互相转化-yellowcong
- lucene.net 基本的读取索引
- libpng-warning-iccp-known-incorrect-srgb-profile 警告问题
- linux 3.6 启动源码分析(四) rest_init
- 计算机等级考试二级c考试操作题小注
- PXE+Kickstart无人值守安装系统
- 创建Html文档
- ABAP更改程序的请求包操作
- 贝叶斯推理本质理解
- Codeforces Round #434 (Div. 2, based on Technocup 2018 Elimination Round 1) C
- Hibernate核心接口总结