Page 1 of 1

Categories, sub-categories, XMP and IPTC

Posted: Sun Jun 19, 2011 1:08 pm
by rbsoft

I understood perfectly how to use XMP to store information categories in the pictures!
  1. Create your categories as normal, with the hierarchy you want.
  2. Under Tools, Settings, Metadata, enable "export categories to IPTC or XMP".
  3. In each picture or set of photos, select the categories in the information panel.
  4. The XnView will create XMP in the file, but not the IPTC (it's better that way because the IPTC gives problem with accented letters).
  5. Probably the XnView will not include XMP in the last subcategory of the hierarchy, but there is as correct.

For example:

Say you have the following categories:
  • Category A
  • [list]
  • Subcategory A1
  • Subcategory A2
  • [list]
  • Subcategory A2a
  • Subcategory A2b
[*]Subcategory A3[/*]
[/list]
[*]Category B[/*]
[/list]

When selecting A2b, XnView automatically select A2 and A. However, XMP will be:

dc
subject[] A
subject[] A2
lr
hierarchicalSubject[] A
hierarchicalSubject[] A|A2

So missing:

dc
subject[] A2b
lr
hierarchicalSubject[] A|A2|A2b

To correct it, re-select the category A2b with drop-down menu, clicking the right mouse button on the photos and selecting "category".

Thus, the XMP will be complete and may be read by other programs such as Shotwell or F-Spot (note: these two programs only read non-hierarchical categories, "dc".)! See:

dc
subject[] A
subject[] A2
subject[] A2b
lr
hierarchicalSubject[] A
hierarchicalSubject[] A|A2
hierarchicalSubject[] A|A2|A2b

Then I try to put images to make it easier to understand!

Re: Categories, sub-categories, XMP and IPTC

Posted: Sun Jun 19, 2011 2:08 pm
by rbsoft
Step 1: Enable "export categories to IPTC or XMP":

Re: Categories, sub-categories, XMP and IPTC

Posted: Sun Jun 19, 2011 2:11 pm
by rbsoft
Step 2: Select the categories that usually want.

It has no category:

Re: Categories, sub-categories, XMP and IPTC

Posted: Sun Jun 19, 2011 2:13 pm
by rbsoft
Selected category "Macro", XnView MP automatically selected "Test" and "Fotos":

Re: Categories, sub-categories, XMP and IPTC

Posted: Sun Jun 19, 2011 2:15 pm
by rbsoft
Step 3: checking, sometimes, XMP is incomplete:

Re: Categories, sub-categories, XMP and IPTC

Posted: Sun Jun 19, 2011 2:18 pm
by rbsoft
Step 4: correcting; nomavente after selecting the category "Macro" in the dropdown menu (I could not capture the screen, but just right click on the photo), XMP is complete:

Re: Categories, sub-categories, XMP and IPTC

Posted: Sun Jun 19, 2011 9:47 pm
by Roumano
I,

Thank you about how to resolve missing XMP entry compared to category (it was resolve lot of missing entry ) !!!

Now, I will use carefully xnviewMP & i will wait for a fix about this important (for me) issue.

Re: Categories, sub-categories, XMP and IPTC

Posted: Fri Jun 24, 2011 7:31 am
by Vapavite
Bonjour roumano, (french)

Exact !

Salut Pierre,

J'étais justement entrain de tester cet outil et cherchais à comprendre ce qui se passait.
Une partie de problème pourrait résider dans un mauvais (incomplet) marquage "catégorie/sous-catégorie" au moment ou le choix est fait !

Re: Categories, sub-categories, XMP and IPTC

Posted: Fri Jul 01, 2011 4:44 pm
by Roumano
Des nouvelles concernant ce bug ?

Re: Categories, sub-categories, XMP and IPTC

Posted: Mon Jul 04, 2011 7:16 am
by xnview
Roumano wrote:Des nouvelles concernant ce bug ?
Dans la 0.38 qui arrive...

Re: Categories, sub-categories, XMP and IPTC

Posted: Tue Sep 06, 2011 7:25 pm
by Roumano
Hi,

It's much better with the 0.39 !!!

but a small thing remain :

If you create a new category (named "test" for exemple in hierachical "photographie" )

Then assign a picture to this category, in XMP field it will only save the "photographie" field. not the "test" cateogory.

To by-pass this problem we can create the new category then restart XnviewMP before assign category to the picture

To fix this missing XMP filed, we need to : restart XnviewMP then clicking the right mouse button on the photos and selecting "test" category. (this trick don't work if we don't restart XnviewMP)

Re: Categories, sub-categories, XMP and IPTC

Posted: Wed Sep 07, 2011 10:13 pm
by budz45
rbsoft,

What XnView MP Theme are you using in your Linux screenshots? Is it the native Linux theme?

..Would like to try that for Windows (that same grey/orange/black theme colors)

Re: Categories, sub-categories, XMP and IPTC

Posted: Mon Sep 12, 2011 6:51 pm
by xnview
Roumano wrote: To fix this missing XMP filed, we need to : restart XnviewMP then clicking the right mouse button on the photos and selecting "test" category. (this trick don't work if we don't restart XnviewMP)
ok, i'll check

Re: Categories, sub-categories, XMP and IPTC

Posted: Thu Apr 19, 2012 9:24 am
by xnview
Please check XnViewMP 0.48

Re: Categories, sub-categories, XMP and IPTC

Posted: Sat Jul 07, 2012 10:55 am
by rbsoft
budz45 wrote:rbsoft,

What XnView MP Theme are you using in your Linux screenshots? Is it the native Linux theme?

..Would like to try that for Windows (that same grey/orange/black theme colors)
Yes, native Linux theme.