ExifTool Forum

General => Metadata => Topic started by: bexelbie on December 04, 2017, 03:46:33 AM

Title: Apple Metadata error?
Post by: bexelbie on December 04, 2017, 03:46:33 AM
I've been working with the separate JPG and MOV files generated on my iPhone 8 for live photos.  I believe that the Apple tags are incorrect in exiftool.  Looking at https://exiftool.org/TagNames/Apple.html I see that 0x0015 is ImageUniqueID.  Based on the photos in front of me, I believe it is actually 0x0011.

Further, I believe that the value in 0x0011 in the JPG is the same as the value in ContentIdentifier in the MOV file, allowing a link to be created between a still photo and it's associated live movie file.

What is the best way to continue to test my theory that this tag is incorrect in the JPG?  I haven't done any metadata work like this before.

Should we rename this tag ContentIdentifier to have it be consistent with the MOV tag?
Title: Re: Apple Metadata error?
Post by: Phil Harvey on December 04, 2017, 07:12:00 AM
Excellent, thanks!  This tag will be called ContentIdentifier in the next ExifTool release.

I can't find why I called 0x0015 ImageUniqueID.  In fact, right now I can't find that tag in any of my samples at all.  So any insight you can provide into the meanings of any of these tags would be appreciated.  Thanks.

- Phil
Title: Re: Apple Metadata error?
Post by: bexelbie on December 04, 2017, 07:48:58 AM
Thank you and good to hear.  While it is a simple fix, if getting a PR would be useful, please let me know.
Title: Re: Apple Metadata error?
Post by: Phil Harvey on December 04, 2017, 08:01:32 AM
PR?
Title: Re: Apple Metadata error?
Post by: bexelbie on December 04, 2017, 08:02:04 AM
Pull Request ... or if you don't use that workflow, a patch.
Title: Re: Apple Metadata error?
Post by: Phil Harvey on December 04, 2017, 08:03:46 AM
Ah.  Thanks.  The change is trivial, so this isn't necessary.  I usually work on patches for more significant code submissions.

- Phil
Title: Re: Apple Metadata error?
Post by: xavHigher on February 18, 2018, 08:22:40 PM
Tried adding ContentIdentifier tag to a JPEG image, but only mentions file is unchanged :

exiftool -ContentIdentifier="2C58391B-C63D-47BE-9B25-BC40424AC9B5" -v2 /Users/user/Desktop/IMG_1234.jpg
Writing Apple:ContentIdentifier if tag exists
======== /Users/user/Desktop/IMG_1234.jpg
Rewriting /Users/user/Desktop/IMG_1234.jpg...
  Editing tags in: APP0 APP1 CIFF ExifIFD IFD0 JFIF MakerNotes
  Creating tags in:
JPEG APP0 (14 bytes):
  Rewriting JFIF
JPEG APP1 (2050 bytes):
  Rewriting IFD0
  Rewriting ExifIFD
  Rewriting MakerNoteApple
  Rewriting GPS
JPEG APP1 (2576 bytes):
JPEG APP13 (54 bytes):
JPEG APP2 (562 bytes):
JPEG SOF0:
JPEG DHT (29 bytes):
JPEG DHT (179 bytes):
JPEG DHT (29 bytes):
JPEG DHT (179 bytes):
JPEG DQT (65 bytes):
JPEG DQT (65 bytes):
JPEG DRI (2 bytes):
JPEG SOS
Nothing changed in /Users/user/Desktop/IMG_1234.jpg
    0 image files updated
    1 image files unchanged

Using exiftool 10.79. Is this normal? Thanks.
Title: Re: Apple Metadata error?
Post by: Phil Harvey on February 19, 2018, 07:06:14 AM
Makernote tags may note be added or deleted individually.

- Phil