Re: Star ratings

Posted by Dougie Nisbet on
URL: http://digikam.185.s1.nabble.com/digiKam-users-Star-ratings-tp4717066p4717084.html

I'm not sure I understand. I rely on rating info being written directly
to image file. Then I use it later in a script that uses exiftool to
extract all info.

i.e.

     exiftool -d %c "${fname_image}" > ${wfexif}

then later ...

#
#       RATING
#
         rating_string=""
         exif_rating=$(grep '^Rating *:' ${wfexif} | cut -d: -f2- | sed
's/^ //')

# note use of lower case asterisk here and use of dejavu font in convert
command so that
# it is displayed properly
         case $exif_rating in
         1)
                 rating_string="_R_"
         ;;

        etc ...

which I use as a screen overlay for a screensaver.

Can you have a look at the image file with exiftool to see if the rating
info is there? I don't use sidecar files so perhaps there's an
inconsistency if you have sidecar files ticked? Does it also/still write
to image file?

Dougie




On 05/06/2021 13:09, mmjoshi wrote:
> Little confused. I am assuming that if I switch off the setting "Write to
> sidecar files" the metadata be written to tiff and  dng files. What about
> arw and pef files. So far the metadata such as tags, was written to xmp
> sidecars.
>
>
>
> --
> Sent from: http://digikam.1695700.n4.nabble.com/digikam-users-f1735189.html

Screenshot_20210605_223915.png (211K) Download Attachment