https://bugs.kde.org/show_bug.cgi?id=457453

            Bug ID: 457453
           Summary: missing AspectRatio in db information during a BQM
                    process
           Product: digikam
           Version: unspecified
          Platform: Other
                OS: Other
            Status: REPORTED
          Severity: wishlist
          Priority: NOR
         Component: AdvancedRename-BatchQueueManager
          Assignee: digikam-bugs-n...@kde.org
          Reporter: frederic.cha...@gmail.com
  Target Milestone: ---

SUMMARY
***
I wanted to test the use of db information during a BQM process to rename the
filename
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)  )

***


Answer from Gilles :
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

Gilles Caulier

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to