ICC Profile tags not copied

Started by kornelix, August 17, 2010, 12:44:48 PM

Previous topic - Next topic

kornelix

I am using this command to copy tag data from one file to another that has been edited:

exiftool -m -q -tagsfromfile "sourcefile" -all -keyx="newvalue" "destfile" -overwrite_original

My problem is that ICC Profile tags are not copied. However, if I ask for these specifically by adding -icc_profile after -all in the command, then the tags are copied. There are no error messages, also when I remove -q.

Why does -all not mean "all" ? It seem to mean "most".

I am using exiftool 7.89 in Ubuntu 10.04.

thanks
Mike



Phil Harvey

Hi Mike,

The answer is that exiftool does not copy tags it considers "unsafe" unless you specify them explicitly.  Generally, any tag which affects the way an image is rendered (as ICC_Profile does) is considered unsafe.

See the Tag Name documentation for details.

- Phil
...where DIR is the name of a directory/folder containing the images.  On Mac/Linux/PowerShell, use single quotes (') instead of double quotes (") around arguments containing a dollar sign ($).

kornelix

Thanks.
May I suggest adding a warning message when -all and stuff is deliberately omitted?
(at least at some verbosity level).

Phil Harvey

Quote from: kornelix on August 18, 2010, 03:46:48 AM
May I suggest adding a warning message when -all and stuff is deliberately omitted?

Good idea.  Thanks for the suggestion.  I'll add this to the -v2 output.

- Phil
...where DIR is the name of a directory/folder containing the images.  On Mac/Linux/PowerShell, use single quotes (') instead of double quotes (") around arguments containing a dollar sign ($).