Main Menu

Keeping ICC_Profile

Started by da1k, July 01, 2023, 06:02:09 AM

Previous topic - Next topic

da1k

Hello,

For this above I wish to add to keep ICC profile. When I add -ICC_Profile or -icc_profile before path to files I receive warning:

Warning: ICC_Profile deleted. Image colors may be affected

what I do wrong?

StarGeek

Split from original post as it was a long inactive thread.

That warning pops up because the command is removing the ICC_Profile.  But you are adding it back in with the -TagsFromFile option.  If you double check afterwards, you'll see it's still there.

C:\>exiftool -G1 -a -s -icc_Profile:all Y:\!temp\cccc\Test.Jpg
[ICC-header]    ProfileCMMType                  :
[ICC-header]    ProfileVersion                  : 2.1.0
[ICC-header]    ProfileClass                    : Display Device Profile
[ICC-header]    ColorSpaceData                  : RGB
[ICC-header]    ProfileConnectionSpace          : XYZ
[ICC-header]    ProfileDateTime                 : 0000:00:00 00:00:00
[ICC-header]    ProfileFileSignature            : acsp
[ICC-header]    PrimaryPlatform                 : Unknown ()
[ICC-header]    CMMFlags                        : Not Embedded, Independent
[ICC-header]    DeviceManufacturer              :
[ICC-header]    DeviceModel                     :
[ICC-header]    DeviceAttributes                : Reflective, Glossy, Positive, Color
[ICC-header]    RenderingIntent                 : Media-Relative Colorimetric
[ICC-header]    ConnectionSpaceIlluminant       : 0.9642 1 0.82491
[ICC-header]    ProfileCreator                  :
[ICC-header]    ProfileID                       : 0
[ICC_Profile]   ProfileDescription              : sRGB
[ICC_Profile]   RedMatrixColumn                 : 0.43607 0.22249 0.01392
[ICC_Profile]   GreenMatrixColumn               : 0.38515 0.71687 0.09708
[ICC_Profile]   BlueMatrixColumn                : 0.14307 0.06061 0.7141
[ICC_Profile]   RedTRC                          : (Binary data 40 bytes, use -b option to extract)
[ICC_Profile]   GreenTRC                        : (Binary data 40 bytes, use -b option to extract)
[ICC_Profile]   BlueTRC                         : (Binary data 40 bytes, use -b option to extract)
[ICC_Profile]   MediaWhitePoint                 : 0.9642 1 0.82491
[ICC_Profile]   ProfileCopyright                : Google Inc. 2016

C:\>exiftool -ext jpg -all= -TagsFromFile @ -IFD0:all -DateTimeOriginal -CreateDate -Icc_Profile Y:\!temp\cccc\Test.Jpg
Warning: ICC_Profile deleted. Image colors may be affected - Y:/!temp/cccc/Test.Jpg
    1 image files updated

C:\>exiftool -G1 -a -s -icc_Profile:all Y:\!temp\cccc\Test.Jpg
[ICC-header]    ProfileCMMType                  :
[ICC-header]    ProfileVersion                  : 2.1.0
[ICC-header]    ProfileClass                    : Display Device Profile
[ICC-header]    ColorSpaceData                  : RGB
[ICC-header]    ProfileConnectionSpace          : XYZ
[ICC-header]    ProfileDateTime                 : 0000:00:00 00:00:00
[ICC-header]    ProfileFileSignature            : acsp
[ICC-header]    PrimaryPlatform                 : Unknown ()
[ICC-header]    CMMFlags                        : Not Embedded, Independent
[ICC-header]    DeviceManufacturer              :
[ICC-header]    DeviceModel                     :
[ICC-header]    DeviceAttributes                : Reflective, Glossy, Positive, Color
[ICC-header]    RenderingIntent                 : Media-Relative Colorimetric
[ICC-header]    ConnectionSpaceIlluminant       : 0.9642 1 0.82491
[ICC-header]    ProfileCreator                  :
[ICC-header]    ProfileID                       : 0
[ICC_Profile]   ProfileDescription              : sRGB
[ICC_Profile]   RedMatrixColumn                 : 0.43607 0.22249 0.01392
[ICC_Profile]   GreenMatrixColumn               : 0.38515 0.71687 0.09708
[ICC_Profile]   BlueMatrixColumn                : 0.14307 0.06061 0.7141
[ICC_Profile]   RedTRC                          : (Binary data 40 bytes, use -b option to extract)
[ICC_Profile]   GreenTRC                        : (Binary data 40 bytes, use -b option to extract)
[ICC_Profile]   BlueTRC                         : (Binary data 40 bytes, use -b option to extract)
[ICC_Profile]   MediaWhitePoint                 : 0.9642 1 0.82491
[ICC_Profile]   ProfileCopyright                : Google Inc. 2016
"It didn't work" isn't helpful. What was the exact command used and the output.
Read FAQ #3 and use that cmd
Please use the Code button for exiftool output

Please include your OS/Exiftool version/filetype

da1k

Quote from: StarGeekSplit from original post as it was a long inactive thread.
I though it will be easier to refresh old thread :)

Quote from: StarGeekThat warning pops up because the command is removing the ICC_Profile.  But you are adding it back in with the  -TagsFromFile option.  If you double check afterwards, you'll see it's still there.
I confirm that ICC Profile is in place. Thank you. I was sure that deleted means deleted and I didn't know where profile is exactly kept. I also didn't get idea to check if profile is kept after I run exiftool.