工具下载:
ImageMagick-7.1.0-13-Q16-HDRI-x64-dll.exe | Win64 dynamic at 16 bits-per-pixel component with High-dynamic-range imaging enabled |
创建脚本:
@echo off
echo ImageMagick fix libpng warning: iCCP: Not recognizing known sRGB profile ......
echo Search PNG in subdirs and process ...
set fn=C:\Program Files\ImageMagick-7.1.0-Q16-HDRI\convert.exe
for /f "tokens=*" %%i in ('dir/s/b *.png') do "%fn%" "%%i" -strip "%%i"
pause
脚本位置:
双击脚本,运行结果: