ExifTool Forum

ExifTool => Newbies => Topic started by: my_untethered_rage on November 08, 2022, 11:44:44 AM

Title: Only part of copyright is being transferred to new file
Post by: my_untethered_rage on November 08, 2022, 11:44:44 AM
Hi all,

I'm very new to Exiftool and I need some help.

I'm converting large numbers of tif to jpg with Imagemagick and using Exiftool to copy the metadata over to the new files. Everything works fine but the copyright is.. odd. It only adds "© All rights reserved." but the full copyright notice is longer and is present on the tif before and after converting.

Does anyone have any ideas why this is happening? Any help is very much appreciated.

I can upload files if necessary but I'll need to generate test ones because.. well.. copyright  ;D

My code
@echo OFF

magick mogrify -format jpg *.tif

exiftool -tagsfromfile %%d%%f.tif -ext jpg "C:\Users\ScannerAdmin\Desktop\TEST" -overwrite_original

Cheers
G
Title: Re: Only part of copyright is being transferred to new file
Post by: StarGeek on November 08, 2022, 05:19:11 PM
Are you checking the results with exiftool or with some other program?  Are XMP sidecar files used by that other program?
Title: Re: Only part of copyright is being transferred to new file
Post by: greybeard on November 09, 2022, 03:56:17 AM
An example would be helpful - a test sample would be OK so long as it exhibits the problem
Title: Re: Only part of copyright is being transferred to new file
Post by: StarGeek on November 09, 2022, 11:02:46 AM
Without more data, I think this would FAQ #9b (https://exiftool.org/faq.html#Q9) and FAQ #3 (https://exiftool.org/faq.html#Q3).

You're not specifying which tags to copy in your -TagsFromFile (https://exiftool.org/exiftool_pod.html#tagsFromFile-SRCFILE-or-FMT) operation.  These means that exiftool will copy all the tags it can but the resulting locations may not be the same as in the original file.  For example, if the source file has the XMP:Headline tag, the target file will end up with the IPTC:Headline tag and not the XMP:Headline.

You might want to try this command. Copying with -All:All will copy tags to the target file and keep the exact same locations as in the source file.

For clarity, I've moved the -ext (-extension) option (https://exiftool.org/exiftool_pod.html#ext-EXT---ext-EXT--extension) to before the -TagsFromFile option.  This makes it more clear which tags are being copied in that operation.

exiftool -overwrite_original -ext jpg -tagsfromfile %%d%%f.tif -All:All "C:\Users\ScannerAdmin\Desktop\TEST"