Import Ratings from XMP

Ask for help and post your question on how to use XnView MP.

Moderators: XnTriq, xnview

Post Reply
ruebyi
Posts: 39
Joined: Thu Nov 22, 2018 9:28 pm

Import Ratings from XMP

Post by ruebyi » Sat Feb 01, 2020 10:37 pm

Hi,

I'm trying a new workflow and ran into a problem?

On iOS there is an app called PhotoPicker - I can Import my JPGs there, cull and rate my Photos and export the XMP files.

I Imported the Images into XnView MP and added the XMP to the same directory.
Now I can see the XMP in the Info Tab, but the Rating is not shown in the pictures...

Any suggestions?

User avatar
xnview
Author of XnView
Posts: 32454
Joined: Mon Oct 13, 2003 7:31 am
Location: France
Contact:

Re: Import Ratings from XMP

Post by xnview » Tue Feb 04, 2020 10:22 am

could you send me a xmp file?
Pierre.

ruebyi
Posts: 39
Joined: Thu Nov 22, 2018 9:28 pm

Re: Import Ratings from XMP

Post by ruebyi » Tue Feb 04, 2020 10:36 pm

Of course - I’m not able to attach it, so I added the xmprigjt here.

Code: Select all

 <x:xmpmeta xmlns:x="adobe:ns:meta/" x:xmptk="Adobe XMP Core 5.6-c140 79.160451, 2017/05/06-01:08:21        ">
<rdf:RDF xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#">
<rdf:Description rdf:about=""
xmlns:xmp="http://ns.adobe.com/xap/1.0/"
xmlns:tiff="http://ns.adobe.com/tiff/1.0/"
xmlns:exif="http://ns.adobe.com/exif/1.0/"
xmlns:aux="http://ns.adobe.com/exif/1.0/aux/"
xmlns:exifEX="http://cipa.jp/exif/1.0/"
xmlns:photoshop="http://ns.adobe.com/photoshop/1.0/"
xmlns:xmpMM="http://ns.adobe.com/xap/1.0/mm/"
xmlns:stEvt="http://ns.adobe.com/xap/1.0/sType/ResourceEvent#"
xmlns:dc="http://purl.org/dc/elements/1.1/"
xmlns:crs="http://ns.adobe.com/camera-raw-settings/1.0/"
xmp:Rating="3"
xmp:Label="">
<dc:subject>
<rdf:Bag>
<rdf:li>picked</rdf:li>
</rdf:Bag>
</dc:subject>
</rdf:Description>
</rdf:RDF>
</x:xmpmeta>

User avatar
xnview
Author of XnView
Posts: 32454
Joined: Mon Oct 13, 2003 7:31 am
Location: France
Contact:

Re: Import Ratings from XMP

Post by xnview » Sat Feb 08, 2020 4:19 pm

ruebyi wrote:
Tue Feb 04, 2020 10:36 pm
Of course - I’m not able to attach it, so I added the xmprigjt here.
It works here
Clipboard-1.png
Clipboard-1.png (15.23 KiB) Viewed 84 times
Perhaps it will be needed to use 'View>Update catalog from files'
Pierre.

ruebyi
Posts: 39
Joined: Thu Nov 22, 2018 9:28 pm

Re: Import Ratings from XMP

Post by ruebyi » Mon Feb 10, 2020 10:18 am

Hmm, it's not working for me...

i uploaded one of my raw Files and the XMP in my dropbox.
https://www.dropbox.com/s/ev1wglmgh7q78 ... v.zip?dl=0


I looked into the XMPs form a file created by XnView and one from my other tool:

XnView

Code: Select all

<x:xmpmeta xmlns:x="adobe:ns:meta/" x:xmptk="XMP Core 5.6.0">
   <rdf:RDF xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#">
      <rdf:Description rdf:about=""
            xmlns:xmp="http://ns.adobe.com/xap/1.0/"
            xmlns:MicrosoftPhoto="http://ns.microsoft.com/photo/1.0/">
         <xmp:Rating>4</xmp:Rating>
         <xmp:Label/>
         <MicrosoftPhoto:Rating>75</MicrosoftPhoto:Rating>
      </rdf:Description>
   </rdf:RDF>
</x:xmpmeta>
From PhotoPicker

Code: Select all

<x:xmpmeta xmlns:x="adobe:ns:meta/" x:xmptk="Adobe XMP Core 5.6-c140 79.160451, 2017/05/06-01:08:21        ">
<rdf:RDF xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#">
<rdf:Description rdf:about=""
xmlns:xmp="http://ns.adobe.com/xap/1.0/"
xmlns:tiff="http://ns.adobe.com/tiff/1.0/"
xmlns:exif="http://ns.adobe.com/exif/1.0/"
xmlns:aux="http://ns.adobe.com/exif/1.0/aux/"
xmlns:exifEX="http://cipa.jp/exif/1.0/"
xmlns:photoshop="http://ns.adobe.com/photoshop/1.0/"
xmlns:xmpMM="http://ns.adobe.com/xap/1.0/mm/"
xmlns:stEvt="http://ns.adobe.com/xap/1.0/sType/ResourceEvent#"
xmlns:dc="http://purl.org/dc/elements/1.1/"
xmlns:crs="http://ns.adobe.com/camera-raw-settings/1.0/"
xmp:Rating="4"
xmp:Label="">
<dc:subject>
<rdf:Bag>
<rdf:li>picked</rdf:li>
</rdf:Bag>
</dc:subject>
</rdf:Description>
</rdf:RDF>
</x:xmpmeta>
I hope this is helpful

User avatar
xnview
Author of XnView
Posts: 32454
Joined: Mon Oct 13, 2003 7:31 am
Location: France
Contact:

Re: Import Ratings from XMP

Post by xnview » Tue Feb 18, 2020 2:00 pm

ruebyi wrote:
Mon Feb 10, 2020 10:18 am
Hmm, it's not working for me...
Do you use lastest version?
Pierre.

Post Reply