<br><br><div class="gmail_quote">2009/3/16 Sylvain CROUZILLAT <span dir="ltr"><<a href="mailto:sylvain.crouzillat@croucrou.com">sylvain.crouzillat@croucrou.com</a>></span><br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
hi<br><br>"Impossible n'est pas français" i think it could be translate by "impossible is not french"<br><br>after you answer i have done many test.<br><br>digikam read Tags from NX and NX read tags from digikam<br>
<br>the probleme is with stars (rating)<br><br>digikam read start put with capture NX but NX don't read stars put with digikam<br><br> i use exiv2 -pxi<br>to see diffrences.<br><br>digikam put rating in Xmp.xmp.Rating<br>
and NX put rating in Xmp.xmp.Rating and Xmp.MicrosoftPhoto_1_.Rating<br><br>behind i have put exemple for 12345 stars<br><br><br>For zero star :<br>Xmp.xmp.Rating XmpText 1 0<br>Xmp.MicrosoftPhoto_1_.Rating XmpText 1 0<br>
<br>For one star :<br>Xmp.xmp.Rating XmpText 1 1<br>Xmp.MicrosoftPhoto_1_.Rating XmpText 1 1<br><br>For two stars :<br>Xmp.xmp.Rating XmpText 1 2<br>
Xmp.MicrosoftPhoto_1_.Rating XmpText 2 25<br><br>For tree stars :<br>Xmp.xmp.Rating XmpText 1 3<br>Xmp.MicrosoftPhoto_1_.Rating XmpText 2 50<br>
<br>For Four stars :<br>Xmp.xmp.Rating XmpText 1 4<br>Xmp.MicrosoftPhoto_1_.Rating XmpText 2 75<br><br>For five stars : <br>Xmp.xmp.Rating XmpText 1 5<br>
Xmp.MicrosoftPhoto_1_.Rating XmpText 2 99<br><br></blockquote><div><br>ok. After to check your pictures send in private, i can said that Nikon developper are wrong.<br><br>The official XMP tags, used by digiKam for Rating and defined in XMP paper from Adobe is :<br>
<br>Xmp.xmp.Rating : as int value. digiKam set 0 to 5 as espected.<br><br><a href="http://www.exiv2.org/tags-xmp-xmp.html">http://www.exiv2.org/tags-xmp-xmp.html</a><br><br>Microsoft use a dedicated namespace (the second part of xmp tag name), named "MicrosoftPhoto", not "MicrosoftPhoto_1_"<br>
<br>Look here :<br><br>Exiv2 : <a href="http://dev.exiv2.org/repositories/entry/exiv2/trunk/src/properties.cpp?rev=1750">http://dev.exiv2.org/repositories/entry/exiv2/trunk/src/properties.cpp?rev=1750</a> line 98<br><br>To Andreas : Why Xmp.MicrosoftPhoto namespace is not listed in tags reference from Exiv2 web project page :<br>
<br><a href="http://www.exiv2.org/metadata.html">http://www.exiv2.org/metadata.html</a><br><br>and <br><br>ExifTool : <a href="http://www.sno.phy.queensu.ca/~phil/exiftool/TagNames/XMP.html#Microsoft">http://www.sno.phy.queensu.ca/~phil/exiftool/TagNames/XMP.html#Microsoft</a><br>
<br>And nothing else.<br><br>For me, Nikon use "MicrosoftPhoto_1_" and it's an error or a bug. This is want mean that image rated with M$ product are not visible in Nikon NX. Great !<br><br>Of course, i can patch digiKam to take a care about this Nikon tag...<br>
<br>What do you think about ?<br><br></div></div>Gilles<br>