Summary: | Filter pictures by aspect ratio [patch] | ||
---|---|---|---|
Product: | [Applications] digikam | Reporter: | Julien Narboux <Julien> |
Component: | Albums-Filters | Assignee: | Digikam Developers <digikam-bugs-null> |
Status: | RESOLVED FIXED | ||
Severity: | wishlist | CC: | caulier.gilles, geow812, kde, simon.eu |
Priority: | NOR | ||
Version: | 3.0.0 | ||
Target Milestone: | --- | ||
Platform: | Compiled Sources | ||
OS: | Linux | ||
Latest Commit: | http://commits.kde.org/digikam/cf81fb884fd84f225f182a562251559ceb5006ec | Version Fixed In: | 3.2.0 |
Sentry Crash Report: | |||
Attachments: | Add "filter by aspect ratio" to the text filter part |
Description
Julien Narboux
2006-02-03 19:52:48 UTC
Yes, I agree. I would also need that when I upload to an online print service. For any performance reason, a filter by aspect ratio can be only done for KDE4 with the new DB format. Why ? because size of image is not stored in DB with KDE3 version and if we want to implement it, we need to scan images in th fly dim to load image and it will take a while... With KDE4 version, thes informations are now stored in DB and updated when it's necessary. Gilles Marcel, I think that this would be another one which could be added to the "Picture Properties" Advanced search in 0.10, what do you think? Best, Arnd Yes. We have width and height, so we can search for width/height. Now looking at the code, there is still the search widget missing for width, height, megapixels (and aspect ratio). I have not yet come up with a good UI idea. Maybe something like Width = ____ Width >= _____ and Width <= _____ Height = ____ Height >= _____ and Height <= _____ MP = ____ MP >= _____ and MP <= _____ Aspect ratio: [Combo-Box] Custom ___:___ (like the aspect ratio crop for the image editor) I would like to see option to sort by orientation: portrait, landscape. About #6 (portrait/landscape) Yes me too ! I think the >= and <= fields, could be available for aspect ratio as well. for instance if you want to find picture that fit into a given frame, you look for instance for picture of aspect ratio 4/3 +- 10 %. Maybe you have the frame and you may put it on the wall in both landscape and portrait orientations. Maybe you have the frame and really need to put it into landscape. So maybe the easiest would be to have a three choices box: only portrait, only landscape, or both + the ratio combo box like in aspect ratio crop + a percentage for precision +- the given percentage. Julien Marcel, The standard apect ratio values list is given Image Editor Ratio Crop tool. look in settings area on the right of plugin dialog. Gilles #8 sounds like a good solution to me. Maybe one could furthermore add the possibility to filter by min/max width/height? This would give the user complete control over the dimension search options. Gandalf Just to chip in and say that I'd really like to be able to search/filter images by landscape/portrait orientation. Currently in 1.0-beta1 you can search for orientation, but the options you can select all seem to revolve around (if you'll pardon the pun) image rotations. I needed to select landscape images for a competition I'm entering and this would have made my life a lot easier! *** Bug 212740 has been marked as a duplicate of this bug. *** *** This bug has been confirmed by popular vote. *** See review board patch : https://git.reviewboard.kde.org/r/108574/ Created attachment 78847 [details]
Add "filter by aspect ratio" to the text filter part
I worked out a patch to enable filter by apect ratio in the text filter part. With this patch we can tap aspect ratio in the form of a float which is the product: width/height, or a string like "x:y" where x is the width and y is the height.
This patch includes Stephan's aspect ratio patch.
However I haven't added the "search by aspect ratio" functionality in the advanced search part yet. I'm actually working on it.
|