ExifTool Forum

ExifTool => Archives => Topic started by: Archive on May 12, 2010, 08:54:42 AM

Title: xmp2iptc and SupplementalCategories
Post by: Archive on May 12, 2010, 08:54:42 AM
[Originally posted by chrisaga on 2009-11-26 14:58:14-08]

Hello.

I think there is a typo in xmp2iptc.args regarding the importation of IPTC:SupplementalCategories.
The matching XMP tag seems to be XMP-photoshop:SupplementalCategory and not XMP-photoshop:SupplementalCategories as it is written even in the last version I downloaded (8.00).

Rgds,

Chris

PS. I fixed it in the file I downloaded and exiftool remains the answer to all my metadata issues. Good job Phil !
Title: Re: xmp2iptc and SupplementalCategories
Post by: Archive on May 12, 2010, 08:54:42 AM
[Originally posted by exiftool on 2009-11-26 15:15:14-08]

Hi Chris,

The XMP tag is called SupplementalCategories in 8.00,
the same as in the .args file.

I can't explain your observed discrepancy.

- Phil
Title: Re: xmp2iptc and SupplementalCategories
Post by: Archive on May 12, 2010, 08:54:42 AM
[Originally posted by chrisaga on 2009-11-26 18:00:46-08]

Hi Phil,

I should have given more details in my previous post.

I'm testing Bibblepro 5 preview 3 and I found some issues with IPTC metadata. As XMP metadata are fine, I decided to use them to recover IPTC. As usual exiftool is THE tool ... but I figured out that IPTC:SupplementalCategories where missing.

I looked closer to both my XMP (Bibblepro 5 generated) metadata and your xmp2iptc.args and figured out that the XMP tags where not called the same.

As you are so kind to give links to metadata references in the header of xmp2iptc.args, I read some and found this document at iptc.org : Photo Metadata Standards document, where I found on page 26 :

Supplemental Categories: As this metadata element was earmarked as deprecated already for IIM 4.1 it was

not adopted. But it is still synchronised with the XMP property "photoshop:SupplementalCategory" and hence

available for future use - but outside the IPTC Core.

So I assumed that the actual name for this tag was XMP-photoshop:SupplementalCategory, not XMP-photoshop:SupplementalCategories.

Maybe I misunderstood something but I could finally recover my IPTC tags from the XMP tags which was my primary concern.If so, Bibblepro generated the wrong XMP tag and I should report a bug on this.

Many thanks for your help

Chris
Title: Re: xmp2iptc and SupplementalCategories
Post by: Archive on May 12, 2010, 08:54:42 AM
[Originally posted by exiftool on 2009-11-26 18:24:18-08]

Hi Chris,

ExifTool tag names may be changed to protect the innocent.
In ExifTool, both the XMP and IPTC versions of this tag
are named "SupplementalCategories".  It is also called
SupplementalCategories by the XMP specification.  However,
the IPTC specification calls this SupplementalCategory.
But this is just to confuse people.  It sounds like this
difference has confused some of the people who wrote
the documentation that you were reading.

When using ExifTool,
it is always called SupplementalCategories.

- Phil
Title: Re: xmp2iptc and SupplementalCategories
Post by: Archive on May 12, 2010, 08:54:42 AM
[Originally posted by chrisaga on 2009-11-30 13:34:20-08]

Hi Phil.

Thank-you for your explanations. You are right, all this stuff is confusing, and it's no easy to find the definitive up-to-date specifications.

So let-me sum up and please correct me if I'm wrong.

* The valid xmp tag for this is XMP-photoshop:SupplementalCategories

* The reason why exiftools -X displays the following line on my Bibble 5 generated jpg file :

Code:
<XMP-photoshop:SupplementalCategory>2009-09 Quebec</XMP-photoshop:SupplementalCategory>
is that the Bibble guys used the wrong tag name and I should report this bug to them.

* exiftool can read XMP-photoshop:SupplementalCategory because it thinks that it is a "custom" tag but cannot write it as it doesn't know it as a valid tag.

-Chris
Title: Re: xmp2iptc and SupplementalCategories
Post by: Archive on May 12, 2010, 08:54:42 AM
[Originally posted by exiftool on 2009-11-30 13:57:24-08]

Hi Chris,

Ah.  This explains the source of the confusion.  Yes,
Bibble is wrong if it writes XMP "SupplementalCategory".
ExifTool will read this tag just fine, but
you won't be able to write it any the provided .args
files won't copy it.

Just to be sure of what Bibble is writing, you can
use "exiftool -xmp -b" to see their source XMP.  You
should use this output and not the -X output when
sending a bug report to Bibble.  (The -X output is
exiftool-specific XML format.)

 

So it looks like you fully understand the situation now.

- Phil
Title: Re: xmp2iptc and SupplementalCategories
Post by: Archive on May 12, 2010, 08:54:42 AM
[Originally posted by exiftool on 2009-11-30 14:10:25-08]

I also just checked your "IPTC Photo Metadata" reference,
and they have it wrong in their specification.  Doh.
But since this is a Photoshop tag, the Adobe XMP specification
is the one to use.  I have sent a mail to IPTC to report
this error in their document.

- Phil
Title: Re: xmp2iptc and SupplementalCategories
Post by: Archive on May 12, 2010, 08:54:42 AM
[Originally posted by chrisaga on 2009-11-30 14:12:36-08]

Thanks a lot.

- Chris
Title: Re: xmp2iptc and SupplementalCategories
Post by: Archive on May 12, 2010, 08:54:42 AM
[Originally posted by exiftool on 2009-11-30 15:51:46-08]

IPTC has just responded to my email.  (I'm impressed they
responded so quickly.)  Here is the response:

Code:
Phil,

thanks for pointing at this error - it even dates back to the IPTC Core 1.0 specs of 2004.

We will fix it.

Michael

- Phil