libpng warning:iCCP:known incorrect sRGB profile
原因是新版的libpng增强了检查,发出警告。此警告可以忽略。
若要消除此警告则要使用v4的色彩配置。
GIMP sRGB v4 色彩配置,修改当前图片的色彩配置,设为默认。
sRGB profiles
On this page you will find several different types of sRGB profiles, with information about their intended use.
sRGB v4 Preference
sRGB v4 Appearance
sRGB v2
sRGB v4 Preference
The sRGB v4 ICC preference profile is a v4 replacement for commonly used v2 sRGB profiles. It gives better results in workflows that implement the ICC v4 specification. It is intended to be used in combination with other ICC v4 profiles.
The advantages of the new profile are:
More pleasing results for most images when combined with any correctly-constructed v4 output profile using the perceptual rendering intent.
More consistently correct results among different CMMs using the ICC-absolute colorimetric rendering intent.
Higher color accuracy using the media-relative colorimetric intent.
A typical use case would be to print sRGB images captured with a digital still camera. In this case a user could open the image in Adobe® Photoshop®, assign the sRGB v4 profile as shown in Figure 1. Adobe® Photoshop® is either a registered trademark or trademark of Adobe Systems Incorporated in the United States and/or other countries.
解决方法:
下载ImageMagick:https://imagemagick.org/script/download.php#windows

然后将图片打开再另存即可。
批量执行
也可以通过脚本转换,同样需要上面的工具,注意将fn的值修改为程序安装的路径
@echo off
echo ImageMagick fix libpng warning: iCCP: Not recognizing known sRGB profile ......
echo Search PNG in subdirs and process ...
set fn=C:\soft\ImageMagick-7.0.-Q16\convert.exe
for /f "tokens=*" %%i in ('dir/s/b *.png') do "%fn%" "%%i" -strip "%%i"
pause
然后将该bat脚本放在图片目录下

双击执行即可

所有图片就已经替换完毕了!
参考:
https://www.cnblogs.com/Esperanto/p/8044032.html
https://zhidao.baidu.com/question/1175819353197087339.html
https://blog.csdn.net/u010212648/article/details/82191419
https://blog.csdn.net/chan_qx/article/details/53929727
https://imagemagick.org/script/download.php#windows
libpng warning:iCCP:known incorrect sRGB profile的更多相关文章
- libpng warning: iCCP: known incorrect sRGB profile告警处理
		
在 qt中加载某些 png图片会出现:libpng warning: iCCP: known incorrect sRGB profile 告警信息. 虽然没什么影响,但是总看到这个警告非常的不舒 ...
 - 解决cocos2dx在Xcode中运行时报:convert: iCCP: known incorrect sRGB profile 的问题
		
解决cocos2dx在Xcode中运行时报:convert: iCCP: known incorrect sRGB profile 的问题 本文的实践来源是参照了两个帖子完成的: http://dis ...
 - git客户端出现libpng warning: iCCP: known incorrect sRGB profile
		
在关闭gitk窗口的时候,会出现一系列的 libpng warning: iCCP: known incorrect sRGB profilelibpng warning: iCCP: known ...
 - libpng warning: iCCP: known incorrect sRGB profile
		
参考 http://www.cocos2d-x.org/forums/6/topics/49093 解决 I got the following warnings in console when r ...
 - 【Xamarin报错】libpng warning : iCCP: Not recognizing known sRGB profile that has been edited
		
报错: Xamarin Android 编译时发生以下错误: libpng warning : iCCP: Not recognizing known sRGB profile that has be ...
 - Android Studio:libpng warning: iCCP: Not recognizing known sRGB profile that has been edited解决办法
		
把以前的eclipse的项目导入Android Studio中,Build项目的时候,出现了一堆错误. 如下: AAPT err(Facade for 1944774242): ERROR: 9-pa ...
 - android studio问题-ICCP:Not recognizing known sRGB profile
		
转:http://my.oschina.net/1pei/blog/479162 PNG格式:每个PNG文件是由一个PNG标识(signature),后面跟一些数据块(chunk),每个chunk由 ...
 - AS问题解决系列3—iCCP: Not recognizing known sRGB profile
		
http://my.oschina.net/1pei/blog/479162 摘要 本文解决了Android Studio 1.2.2下编译期间出现的libpng warning: iCCP: Not ...
 - 控制台警告libpng warning: iCCP: known incorrect sRGB profile
		
用控制台测试数据的时候,出现的这个问题.虽然只是一个警告但是看着就是不太舒服 ,见下图 弄了好长时间,无意间切换个输入法,原先使用的是QQ输入法 切换成微软五笔以后,竟然好了 好了 好了
 
随机推荐
- 01背包变种 第k解问题 hdu 2639
			
先说说普通01包的状态问题吧 普通的01背包,在状态转移的过程中为了求出最优解,一定是遍历了所有的情况 然后再求的最优解.那么对于第k最优解问题,我们只需要再加一个维度,用来记录每一个状态k优解的状态 ...
 - C++虚函数【Java有虚函数吗?】
			
1,简单介绍 定义在基类中的函数,子类必须对其进行覆写![必须对其进行覆写?!]——Java中的接口.Abstract方法中的抽象类也有这样的要求. C++中定义: virtual void deal ...
 - mysql 创建用户,授权,查询用户等
			
MySQL创建用户与授权 一. 创建用户 命令: CREATE USER 'username'@'host' IDENTIFIED BY 'password'; 说明: username:你将创建的用 ...
 - mysql打印用户权限的小技巧
			
mysql5.5 5.6 SHOW GRANTS FOR mysql> SELECT DISTINCT CONCAT('SHOW GRANTS FOR ''',user,'''@''',host ...
 - flex布局实战
			
1.实现盒子的水平垂直居中 .parent{ width:200px; height:200px; display:flex; align-items: center; justify-content ...
 - 第一章 Django之学习Django所需知识(3)
			
所需编程知识 本书读者需要理解基本的面向过程和面向对象编程:流程控制(if, while 和 for),数据结构(列表,哈希表/字典),变量,类和对象. Web 开发经验,正如你所想的,也是非常有帮助 ...
 - DAY1注册店铺
 - win10锁屏壁纸文件夹Assets中无文件问题的解决方法
			
一.前言 win10在锁屏时会有很多精美的壁纸,在网上查找到win10锁屏壁纸存放目录为 : C:\Users\你的用户名\AppData\Local\Packages\Microsoft.Windo ...
 - C#中[STAThread]的作用
			
[STAThread]STAThread:Single Thread Apartment Thread.(单一线程单元线程)[]是用来表示Attributes: [STAThread]是一种线程模型, ...
 - less避免编译
			
less里面有一个避免编译,有时候我们需要输出一些不正确的css语法或者使用less不认识的专有语法.要输出这样的值我们可以在字符串前加上一个~ /*避免编译*/ .test_03{ width: 3 ...