Exif - IPTC-IIM - XMP mapping

Started by gEEvEE, June 14, 2024, 06:32:01 AM

Previous topic - Next topic

gEEvEE

Dear all,

about a decade ago, the Metadata Working Group (MWG) defined some mapping rules between overlapping fields of the Exif, IPTC-IIM and XMP photo metadata. ExifTool can list these overlapping fields, but is there also a function to check for a violation of these mapping rules? For example, to check if the "Exif:Copyright" and "XMP-dc:Rights" fields have different values and - if wanted - take the value of the dominant field and map it to the other ones?
If not, does anybody know of a script that would do this (before I start programming something myself)?

Thanks for your help! Geert

Phil Harvey

Hi Geert,

ExifTool doesn't have a feature like this.

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

mws

Hi Geert,

The specification of the IPTC Photo Metadata Standard - at https://iptc.org/std/photometadata/specification/IPTC-PhotoMetadata - shows for each IPTC field which XMP field is used and if the IPTC IIM format is used too the corresponding IIM field. AND: in the row Help: ExifTool tags the ExifTool tags for the XMP and optionally the IIM field are shown. If XMP and IIM are used values should be compared.

The mapping between IPTC fields and Exif tags are documented by the IPTC Photo Metadata Mapping Guidelines - at: https://iptc.org/std/photometadata/documentation/mappingguidelines/

For testing images with embedded metadata you can use the IPTC Photo Metadata Interoperability Test #3 - at https://getpmd.iptc.org/interoptests-iptcpmd.html

  • Select the image file you want to test
  • Select "Test #3"
  • Click the green button "Test the Photo Metadata of the local image

Then a list is shown with all IPTC fields and for each one if an XMP and/or an IIM value was found and if both values are found if they are in sync - aka the values are the same.

Corresponding/mapped Exif fields are not covered by this test.


(Note the reading of metadata on this site is done by ExifTool.)

- Michael