Copyright woes

Started by movingphotos, June 09, 2024, 10:27:25 AM

Previous topic - Next topic

movingphotos

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?

StarGeek

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 outputPathOrig

From the docs on the --TAG option
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).
"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