无标题.png (93.84 KB, 下载次数: 0)
下载附件
2022-12-15 15:39 上传
有些照片在windows照片查看器中无法打开,其原因是内嵌了ICC文件。解决办法很简单,不需要用修改windows颜色配置的方法。
首先,去exiftool.org下载个免费的命令行程序exiftool.exe(附件已打包)。
然后,建一个批处理文件Remove-icc.bat,用记事本编辑输入:exiftool -icc_profile= *.jpg
将exiftool.exe和Remove-icc.bat都放在需要更改的图片目录下,运行Remove-icc.bat,目录里面所有的内嵌有icc文件的jpg都会被去除,原jpg会自动更名为jpg_original文件,没有内嵌icc的jpg完全不影响。
最后,删掉所有jpg_original文件即可。
用此工具可以查看到处理前后的图片EXIF信息对比!
处理前EXIF信息:
ExifTool Version Number : 12.52
File Name : a.jpg
Directory : .
File Size : 387 kB
Zone Identifier : Exists
File Modification Date/Time : 2022:12:15 10:59:47+08:00
File Access Date/Time : 2022:12:15 10:59:46+08:00
File Creation Date/Time : 2022:12:15 10:59:46+08:00
File Permissions : -rw-rw-rw-
File Type : JPEG
File Type Extension : jpg
MIME Type : image/jpeg
JFIF Version : 1.01
Resolution Unit : inches
X Resolution : 96
Y Resolution : 96
Profile CMM Type :
Profile Version : 2.1.0
Profile Class : Display Device Profile
Color Space Data : RGB
Profile Connection Space : XYZ
Profile Date Time : 0000:00:00 00:00:00
Profile File Signature : acsp
Primary Platform : Unknown ()
CMM Flags : Not Embedded, Independent
Device Manufacturer :
Device Model :
Device Attributes : Reflective, Glossy, Positive, Color
Rendering Intent : Media-Relative Colorimetric
Connection Space Illuminant : 0.9642 1 0.82491
Profile Creator :
Profile ID : 0
Profile Description : sRGB
Red Matrix Column : 0.43607 0.22249 0.01392
Green Matrix Column : 0.38515 0.71687 0.09708
Blue Matrix Column : 0.14307 0.06061 0.7141
Red Tone Reproduction Curve : (Binary data 40 bytes, use -b option to extrac
t)
Green Tone Reproduction Curve : (Binary data 40 bytes, use -b option to extrac
t)
Blue Tone Reproduction Curve : (Binary data 40 bytes, use -b option to extrac
t)
Media White Point : 0.9642 1 0.82491
Profile Copyright : Google Inc. 2016
Image Width : 900
Image Height : 2926
Encoding Process : Baseline DCT, Huffman coding
Bits Per Sample : 8
Color Components : 3
Y Cb Cr Sub Sampling : YCbCr4:2:0 (2 2)
Image Size : 900x2926
Megapixels : 2.6
处理后EXIF信息:
ExifTool Version Number : 12.52
File Name : a.jpg
Directory : .
File Size : 386 kB
File Modification Date/Time : 2022:12:16 20:20:29+08:00
File Access Date/Time : 2022:12:16 20:20:29+08:00
File Creation Date/Time : 2022:12:15 10:59:46+08:00
File Permissions : -rw-rw-rw-
File Type : JPEG
File Type Extension : jpg
MIME Type : image/jpeg
JFIF Version : 1.01
Resolution Unit : inches
X Resolution : 96
Y Resolution : 96
Image Width : 900
Image Height : 2926
Encoding Process : Baseline DCT, Huffman coding
Bits Per Sample : 8
Color Components : 3
Y Cb Cr Sub Sampling : YCbCr4:2:0 (2 2)
Image Size : 900x2926
Megapixels : 2.6
下载:https://wwi.lanzoup.com/iRLbt0iqrd6b 密码:fc1d