Add XMP-iptcExt:DigitalImageGUID to "Edit IPTC-IIM"

Ideas for improvements and requests for new features in XnView MP

Moderator: xnview

User avatar
Erik Bachmann
Posts: 14
Joined: Mon Apr 06, 2009 11:09 am

Add XMP-iptcExt:DigitalImageGUID to "Edit IPTC-IIM"

Post by Erik Bachmann »

It would be nice to be able to access the GUID for an image via "Edit IPTC-IIM"

The Digital Image GUID in IPTC is described in: https://iptc.org/std/photometadata/docu ... image-guid
and https://www.iptc.org/std/photometadata/ ... image-guid
as
Globally unique identifier for this digital image. It is created and applied by the creator of the digital image at the time of its creation . This value shall not be changed after that time.
Since ExifTool 13.59 (May 27, 2026), it has supported the NewUUID tag, which generates a random UUID version 4.

I'm quite fond of this little gem:

Code: Select all

exiftool -if "not $XMP-iptcExt:DigitalImageGUID" "-XMP-iptcExt:DigitalImageGUID<NewUUID" image.jpg
Regards {ö} Erik Bachmann
URL: http://ClicketyClick.dk