Handling xmp:Rating with decimals

*** Please report new bugs here! ***

Moderators: xnview, Dreamer

t3mujin
Posts: 7
Joined: Sun Jan 19, 2014 10:36 pm

Handling xmp:Rating with decimals

Post by t3mujin »

I'm using Photo Ninja and somehow it adds decimal values to the rating tag:

Code: Select all

<xmp:Rating>4.000000</xmp:Rating>
I agree those decimal values don't make much sense, but if I change the rating on Photo Ninja and update the database on XnViewMP the rating is cleared, which doesn't happen if I remove the zeros on the xmp file using my text editor.
User avatar
xnview
Author of XnView
Posts: 47557
Joined: Mon Oct 13, 2003 7:31 am
Location: France

Re: Handling xmp:Rating with decimals

Post by xnview »

could you post a file with such xmp?
Pierre.
User avatar
m.Th.
XnThusiast
Posts: 1676
Joined: Wed Aug 16, 2006 6:31 am

Re: Handling xmp:Rating with decimals

Post by m.Th. »

I agree those decimal values don't make much sense...
Daminion has them but indeed exports to XMP by truncating the rating to integers. Hence 4.5 becomes 4.
m. Th.

- Dark Themed XnViewMP 1.7.1 64bit on Win11 x64 -
t3mujin
Posts: 7
Joined: Sun Jan 19, 2014 10:36 pm

Re: Handling xmp:Rating with decimals

Post by t3mujin »

Sorry, I was a bit away from computers lately. Here it is.
You do not have the required permissions to view the files attached to this post.
User avatar
xnview
Author of XnView
Posts: 47557
Joined: Mon Oct 13, 2003 7:31 am
Location: France

Re: Handling xmp:Rating with decimals

Post by xnview »

Bug confirmed and will be fixed. See issue Issue 269 for current status and details.
Pierre.