Page 1 of 1

Question to mode of "Edit IPTC-IIM/XMP"

Posted: Fri Jun 14, 2013 8:59 am
by herb
Hello,

I work with version 0.56 and have a question to modes of metadata editor.
In window "Edit IPTC-IIM/XMP" in tab "Options" the editor mode is to be selected.

The modes "IPTC only" and "XMP only" are clear to me.

But the modes "IPTC-IIM, update or create XMP" and "XMP, update or create IPTC-IIM" are unclear to me.
In a test I have not seen any different behaviour.
To an image with only EXIF metadata I added a keyword and in both "unclear" modes both IPTC and XMP metadata have been added.

Who can explain the difference of these modes?
Thanks in advance.
Herb

Re: Question to mode of "Edit IPTC-IIM/XMP"

Posted: Fri Jun 14, 2013 9:02 am
by xnview
It's when IPTC or XMP doesn't exists

Re: Question to mode of "Edit IPTC-IIM/XMP"

Posted: Fri Jun 14, 2013 3:46 pm
by herb
Hello Pierre,

thanks for your reply, but please be a little bit more detailed.

When mode "XMP, update or create IPTC-IIM" means the following
- update existing XMP only
- update existing IPTC or newly create IPTC
I do not understand, why in this mode a file without any IPTC metadata and without any XMP metadata gets both created when I add a keyword.

And when the above assumption is correct, do we need a 5th mode "XMP, IPTC"?
Best regards
Herb

Re: Question to mode of "Edit IPTC-IIM/XMP"

Posted: Sat Jun 15, 2013 7:56 am
by mahikeulbody
Well, I can see at least one difference between both modes.

As you can check, the fields you can edit are not exactely the same in each mode. For example, XMP mode doesn't let edit 'location name' and 'location code' since they are deprecated in XMP standard. XMP, create or update IPTC-IIM displays all fields but let you edit only XMP fields when IPTC-IIM, create or update XMP displays all fields but let you edit only IPTC-IIM fields.

What is unclear is how XnViewMP does the mapping between XMP and IPTC-IIM since there are some cases where this mapping is not obvious.

This document gives some guidelines : http://www.metadataworkinggroup.com/pdf ... e_v101.pdf
(you can check chapter 3.3.3 Metadata Reconcilation Guidance).

NB. Exiftool offers the option -use MWG which implement the recommendations above. May be XnViewMP is using that.

Re: Question to mode of "Edit IPTC-IIM/XMP"

Posted: Sat Jun 15, 2013 8:04 am
by mahikeulbody
herb wrote:Hello Pierre,

thanks for your reply, but please be a little bit more detailed.

When mode "XMP, update or create IPTC-IIM" means the following
- update existing XMP only
- update existing IPTC or newly create IPTC
I do not understand, why in this mode a file without any IPTC metadata and without any XMP metadata gets both created when I add a keyword.

And when the above assumption is correct, do we need a 5th mode "XMP, IPTC"?
Best regards
Herb
IMHO "XMP, update or create IPC-IIM" means :
let edit any XMP fields
save edited XMP fields and do a mapping (according MWG recommendations ?) onto IPTC-IIM

and "IPTC-IIM, update or create XMP" means :
let edit any IPTC fields
save edited IPTC fields and do a mapping (according MWG recommendations ?) onto XMP

Since the mapping between both IPTC and XMP is not bijective, the result may be different in some cases.

Re: Question to mode of "Edit IPTC-IIM/XMP"

Posted: Sat Jun 15, 2013 10:07 am
by xnview
Here is what i use:

IPTC_CountryCode => XMP_NS_IPTCCore, "CountryCode"
IPTC_Location => XMP_NS_IPTCCore, "Location"
IPTC_SubjectCode => XMP_NS_IPTCCore, "SubjectCode"

IPTC_Creato => XMP_NS_DC, "creator"
IPTC_Description => XMP_NS_DC, "description"
IPTC_CopyrightNotice => XMP_NS_DC, "rights"
IPTC_Keyword => XMP_NS_DC, "subject"
IPTC_Title => XMP_NS_DC, "title"

IPTC_CreatorJobtitle => XMP_NS_Photoshop, "AuthorsPosition"
IPTC_DescriptionWriter => XMP_NS_Photoshop, "CaptionWriter"
IPTC_Category => XMP_NS_Photoshop, "Category"
IPTC_City => XMP_NS_Photoshop, "City"
IPTC_Country => XMP_NS_Photoshop, "Country"
IPTC_Provider => XMP_NS_Photoshop, "Credit"
IPTC_DateCreated => XMP_NS_Photoshop, "DateCreated"
IPTC_Headline => XMP_NS_Photoshop, "Headline"
IPTC_Instructions => XMP_NS_Photoshop, "Instructions"
IPTC_Source => XMP_NS_Photoshop, "Source"
IPTC_State => XMP_NS_Photoshop, "State"
IPTC_SuppCategory => XMP_NS_Photoshop, "SupplementalCategories"
IPTC_JobID => XMP_NS_Photoshop, "TransmissionReference"
IPTC_Urgency => XMP_NS_Photoshop, "Urgency"

Re: Question to mode of "Edit IPTC-IIM/XMP"

Posted: Sat Jun 15, 2013 3:15 pm
by herb
Hello,

thanks for your comments and explanations. They are all very helpful for me.

Best regards
Herb