Home › Forums › Nitro for iPhone and iPad › Reading star ratings in Nitro
- This topic has 8 replies, 2 voices, and was last updated 2 weeks ago by
Nik Bhatt.
-
AuthorPosts
-
May 15, 2025 at 5:43 pm #137500
Andreas Yankopolus
ParticipantI’m using Nitro to edit images organized in nested subdirectories. I’ve been using Photo Supreme to add metadata to these images—it writes the metadata to the image file using standard XMP tags. I wouldn’t expect Photo Supreme to pick up star ratings made by Nitro due to Nitro’s sidecar naming strategy, but it doesn’t appear that Nitro picks up stars added by Photo Supreme (it does see other metadata added by Photo Supreme and exiftool scripts).
I can do some scripting to sync ratings but want to make sure that this is the expected behavior.
May 15, 2025 at 7:21 pm #137546Nik Bhatt
KeymasterIt’s hard to say without more information. The app will read XMP data stored within an image file if it’s a DNG. XMP data written to RAW files probably won’t be read unless Apple’s metadata parsing code reads them.
If you open the RAW in Apple’s Preview app on the Mac, do you see the ratings?
May 16, 2025 at 6:37 am #137547Andreas Yankopolus
ParticipantI see the start ratings for DNG files in Preview. The Preview Inspector pane doesn’t show much for HEICs.
Looking in the finder:
% exiftool -Xmp:Rating 2025-04-28-0001.heic
Rating : 1% exiftool -Xmp:Rating 2025-04-30-0048.dng
Rating : 1In both cases I’m not getting the files to show up with a star in Nitro.
May 16, 2025 at 6:59 am #137548Andreas Yankopolus
ParticipantNow what’s pretty cool is can do:
% exiftool 2025-04-28-0001_heic.xmp -Xmp:Rating=1
Nitro immediately shows a star for the image. I can change it to two stars in Nitro and do:
% exiftool 2025-04-28-0001_heic.xmp -xmp:Rating
Rating : 1Unfortunately, DAM software expects to see “2025-04-28-0001.xmp” for “2025-04-28-0001.heic”, so I need to run a script that uses exiftool to sync ratings between the XMP info in the image file “2025-04-28-0001.heic” and the Nitro-unique sidecar “2025-04-28-0001_heic.xmp”.
I remember the halcyon days of Aperture seamlessly handling everything…
May 25, 2025 at 7:59 pm #137682Nik Bhatt
KeymasterUsing “.xmp” for all images will fail when there is an R+J pair. That’s because both R and J can have XMP files, so the there are two XMP files with the same name (the file names collide).
People have asked me to support this anyway, because they “know what they are doing”. I may do that, but also understand that in that case, you will lose data if you shoot R+J.
Adobe avoids this by writing XMP data into the JPEG file, but that modifies originals which is risky by definition.
May 25, 2025 at 8:00 pm #137683Nik Bhatt
KeymasterAperture did not have this problem because it maintained its own library format and did not use XMP files (it would only write them out on export). But the world doesn’t need another proprietary library format.
May 25, 2025 at 9:12 pm #137684Nik Bhatt
KeymasterI suspect that Nitro is not re-reading the file after you add the metadata. As a result, if it has seen the file and then you add the rating, Nitro won’t see it. If you select the image in Nitro and use Image > Reindex Images, does the rating appear?
I’m thinking of just writing the ratings and such back to the original because having the data partly in the image and partly in XMP is not going to work in the long run.
May 31, 2025 at 5:29 am #137690Andreas Yankopolus
ParticipantI’m not seeing an “Image -> Reindex Images” on the iPad version. When I click on an image and rebuild the thumbnail, the star rating doesn’t update to the value in the HEIC or DNG file for me.
June 2, 2025 at 9:13 am #137695Nik Bhatt
KeymasterFor Reindex on iPad, use the Batch button.
-
AuthorPosts
- You must be logged in to reply to this topic.