Which metadata standard should I use to add copyright information to JPEG photos?
Asked 5/17/2011
3 views
2 answers
0
I want to embed copyright information in my JPEG files. Should I use IPTC, XMP, or EXIF for fields like copyright notice, creator, description, and date/time? Which format is most appropriate, and what happens if the same information appears in more than one metadata block?
Originally by Photography Stack Exchange contributor. Source · Licensed CC BY-SA 4.0
Photography Stack Exchange contributor
15y ago
2 Answers
7
Good question: Copyright, Description, Creator and Date/Time are the only fields that are present in all three metadata formats (Exif, IPTC-IIM & XMP).
Generally, when to use which
Metadata Working Group's recommendation is to use
- Exif for device properties
- IPTC-IIM for IIM properties
- XMP for IPTC Core & IPTC Extended properties, cached Exif properties and all other custom properties.
General answer on metadata reconciliation
I.e. if two or more are present, which wins?
If both (native) Exif and XMP are present, the aforementioned four fields are the only fields that get mapped between Exif and XMP:
Exif ∧ ¬XMP ⇒ read Exif
¬Exif ∧ XMP ⇒ read XMP
Exif ∧ XMP ⇒ read both, but prefer Exif
IPTC-IIM and XMP can have a lot of more data in common. Good things to note are:
- IPTC encourages the use of IPTC Core, which can be written to both IPTC-IIM blocks and XMP blocks; and use the (older) IIM data just in the IPTC-IIM block.
- Moreover: it is recommended to write the IPTC Core data to XMP, unless backward compatibility is needed.
- IPTC-IIM has length limitations, while XMP hasn't.
- to help solve possible conflicts, a checksum of the IPTC-IIM data should be written.
So, if both IPTC-IIM and XMP data are present:
¬IPTC-IIM ∧ XMP ⇒ read XMP
IPTC-IIM ∧ ¬XMP ⇒ read IPTC-IIM
IPTC-IIM ∧ XMP ∧ (Checksum match) ⇒ read both, prefer XMP
IPTC-IIM ∧ XMP ∧ ¬(Checksum match) ⇒ read IPTC-IIM
IPTC-IIM ∧ XMP ∧ ¬Checksum ⇒ read both, prefer XMP
Above suggests that Exif and XMP are the most preferred. In my opinion, Exif is great for technical details of the photo (time, aperture, focal length, white balance, GPS etc.) and XMP is great for the rest (keywording, post-processing, rating, description etc.). While the Exif data could be written to XMP, I wouldn't trash the Exif as it is so much more widely used and supported than XMP.
Concerning Copyright metadata
Remember, only Copyright, Description, Creator and Date/Time exist in all three metadata formats and the reconciliation guidance is specific for each property — Date/Time being the least straightforward.
Exif Copyright (33432, 0x8298), IPTC CopyrightNotice (IIM 2:116, 0x0274) and XMP dc:rights are (should be) mapped together. The mapping happens in the program that reads the data, so it cannot be 100% guaranteed. However, CopyrightURL should be stored in XMP xmpRights:WebStatement.
So the ultimate answer is: whatever fits best to your workflow. How do you plan to use the info? The copyright info is, well, just info and as @Roland said you might need to mention the copyright explicitly, which metadata generally isn't. If in doubt, write the info to all three.
I usually write the copyright info in to the IPTC Core, which Lightroom most probably (being an Adobe product and Adobe being a member of the Metadata Working Group) ultimately writes into XMP.
Originally by user1913. Source · Licensed CC BY-SA 4.0
user1913
15y ago
0
Generated from our catalog & community — verify before relying on it.
For copyright metadata, use IPTC/XMP rather than relying only on EXIF.
A practical rule is:
- EXIF: camera/device-generated properties
- IPTC-IIM: legacy IPTC fields
- XMP: modern IPTC Core/Extended fields and custom metadata
For your needs, IPTC Core/XMP is the best fit because it includes fields such as copyright notice, creator, and creator contact info, and is widely supported by tools like Lightroom, Bridge, digiKam, and exiftool.
Copyright, description, creator, and date/time are among the few fields commonly represented across EXIF, IPTC-IIM, and XMP. If both EXIF and XMP versions of those shared fields exist, guidance from the Metadata Working Group is generally to read both but prefer EXIF for those mapped fields.
In practice, many photographers let the camera write EXIF, then add copyright and author information during import using IPTC/XMP. If copyright wording matters legally where you live, make sure the copyright statement is explicit.
Recommended products
UniqueBot
AI15y ago
Your Answer
Related Questions
Which metadata fields should I use to store creator and copyright information in my photos?
What’s the difference between IPTC and XMP metadata, and which should I use?
Should I use IPTC, EXIF, or custom tags for archiving family photo metadata?
Which IPTC metadata field should I use for a photo title in Lightroom?
Which photo metadata fields are most worth filling in for your images?