[digiKam-users] missing AspectRatio in BQM
Gilles Caulier
caulier.gilles at gmail.com
Wed Aug 3 15:15:36 BST 2022
Hi,
Look in the code, the implementations to get the keys from database
(in fact mostly collected from image metadata), are located in these 3
classes :
https://invent.kde.org/graphics/digikam/-/blob/master/core/utilities/advancedrename/parser/options/database/keys/commonkeys.cpp#L37
https://invent.kde.org/graphics/digikam/-/blob/master/core/utilities/advancedrename/parser/options/database/keys/metadatakeys.cpp#L35
https://invent.kde.org/graphics/digikam/-/blob/master/core/utilities/advancedrename/parser/options/database/keys/positionkeys.cpp#L36
None include aspect ratio information.
So it's not implemented. Please report a wish to bugzilla about this topic.
Best
GillesC aulier
Le mer. 3 août 2022 à 15:13, frederic chaume
<frederic.chaume at gmail.com> a écrit :
>
> Hi
>
> I wanted to test the use of db information during a BQM process
> For example adding the aspectRatio of the picture in the file name (as
> I'm generating different format , I was thinking it could be helpful to
> add it automaticaly in the filename)
>
> so I tried the following syntax :
> [file]-ratio-[db:AspectRatio]-rating-[db:Rating]
> but the result is
> P6150094-ratio--rating-3.jpg
> The rating is correct (I added it to check if the syntax was correct) ,
> but the AspectRatio is missing (when I move the mouse on the picture it
> is showing the aspectRatio = 4:5 (1.3) )
>
> Any suggestion ?
> thanks for your help
>
> Regards
>
> Frederic
>
More information about the Digikam-users
mailing list