I'm writing an AppleScript.
Everything works in this line
set exiftoolCommandOrig to exiftoolPath & " -all= --icc_profile:all -CopyrightNotice -overwrite_original " & quoted form of outputPathOrig
My source is a TIFF file and I'm converting to a resized JPG. It keeps the Adobe 1998 color space here, but no matter what I or ChatGPT come up with, we cannot keep Copyright Notice. I can keep every other tag from Author but Copyright, the most important item, cannot be kept.
Anything wrong with my line here?
You need to copy the tag back into the file.
Something like
set exiftoolCommandOrig to exiftoolPath & " -all= --icc_profile:all -TagsFromFile @ -CopyrightNotice -overwrite_original " & quoted form of outputPathOrigFrom the docs on the
--TAG option (https://exiftool.org/exiftool_pod.html#TAG1)
QuoteBut note that this will not exclude individual tags from a group delete (unless a family 2 group is specified, see note 4 below). Instead, individual tags may be recovered using the -tagsFromFile option (eg. -all= -tagsfromfile @ -artist).