Different behavior between versions?

Started by jo9817, August 19, 2024, 02:54:50 PM

Previous topic - Next topic

jo9817

I have two exiftool versions installed on my Mac:
/usr/local/bin/exiftool -ver --> 12.52
Downloaded newest version to: /Users/jo/Temp/Image-ExifTool-12.92. Here I deleted everything except the exiftool-file and the lib-folder:
-rwxr-xr-x@ 1 jo  staff  326663 25 Jul 02:25 exiftool
drwxr-xr-x@ 4 jo  staff    128 25 Jul 02:40 lib


I want to set the -headline tag:

With the version in /usr/local/bin:
/usr/local/bin/exiftool -headline="xxxxx" /Users/jo/Temp/20240819-175346.HEIC
    1 image files updated
/usr/local/bin/exiftool -headline /Users/jo/Temp/20240819-175346.HEIC
Headline                        : xxxxx

and the same with the 12.92 version:
./exiftool -headline="xxxxx" /Users/jo/Temp/20240819-175346.HEIC
    0 image files updated
    1 image files unchanged
./exiftool -headline /Users/jo/Temp/20240819-175346.HEIC

and now with the 12.92 version and a .jpg instead of the .heic:
./exiftool -headline="xxxxx" /Users/jo/Temp/20240819-175346.jpg
    1 image files updated
./exiftool -headline /Users/jo/Temp/20240819-175346.jpg
Headline                        : xxxxx


Can this be a bug in the 12.92 version?

Phil Harvey

Jan. 4, 2023 - Version 12.53
  - Changed priority of XMP when reading/writing HEIC files so that it is no
    longer preferred as with other QuickTime-based formats


You now have to specify XMP:Headline to write this to an HEIC file.

- 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 ($).

jo9817

thanks Phil!
ok. I see. Is this true only for .heic files?
Can I use this XMP:Headline for all type of files (.cr3, .jpg, .arw, ...)?
As I don't want to distinguish the camera type for updating the images.
Thanks!

Phil Harvey

Use XMP:Headline to write XMP:Headline to any type of file.

If you don't specify XMP, then ExifTool will default to IPTC:Headline for most formats.  The exception is QuickTime-based formats excluding HEIC.

XMP:Headline should be preferred since the old IPTC NAA format is becoming obsolete.

- 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 ($).

StarGeek

Quote from: jo9817 on August 19, 2024, 03:13:53 PMCan I use this XMP:Headline for all type of files (.cr3, .jpg, .arw, ...)?

If you need to double check, you can look at the Supported File Types table. It will show you which file types support XMP data.
"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