Visual Filters for properties

Features wanted...
Post Reply
klownboy
Posts: 4141
Joined: 28 Feb 2012 19:27

Visual Filters for properties

Post by klownboy »

Hi Don, This has probably came up before but I think it would be a nice addition for us amateur photographers to be able to filter a photo aspect ratio or on a camera model such as: prop:#AspectRatio: 3:2 or prop:CameraModel:*DSC-RX100M5* Of course it wouldn't have to be in the same format as these instant color filers.

Those are the two properties I'm most interested in. I know I can do quick searches to show these particulars in a tab or even the current tab, but doing that results in redrawing the thumbnails when done the first time. I can cache the result, but who needs more thumbnail caches of photos we already have thumbnailed. I could do paperfolders as well but for simple things like this, I really don't want more paperfolders and the additional thumbnail caches. Thanks.
Windows 11, 23H2 Build 22631.3447 at 100% 2560x1440

klownboy
Posts: 4141
Joined: 28 Feb 2012 19:27

Re: Visual Filters for properties

Post by klownboy »

This one is old and getting moldy, but sure would be nice to have. Any chance you could take a look. :)
Windows 11, 23H2 Build 22631.3447 at 100% 2560x1440

admin
Site Admin
Posts: 60601
Joined: 22 May 2004 16:48
Location: Win8.1 @100%, Win10 @100%
Contact:

Re: Visual Filters for properties

Post by admin »

It will come soon, probably today... :)

klownboy
Posts: 4141
Joined: 28 Feb 2012 19:27

Re: Visual Filters for properties

Post by klownboy »

That's great! Now I won't have to do what I was doing over here. viewtopic.php?f=5&t=20977#p173011 which was using "inverted" quick search to find images with a certain aspect ratio (i.e., 16:9) and then using a ghost filter to hide those images that weren't 16:9. It'll be great to see only images from a particular camera as well. :tup:
Windows 11, 23H2 Build 22631.3447 at 100% 2560x1440

klownboy
Posts: 4141
Joined: 28 Feb 2012 19:27

Re: Visual Filters for properties

Post by klownboy »

New filters using prop are working great. Thanks. The first place I tried it was in a script using SC filter. You may want to mention that (i.e., working with SC filter) at least in your Help update with new example.

Should this work as visual filter (via manage visual filters) combining {:Image} with prop? "Image Aspect Ratio 16:9" {:Image} AND "prop:#AspectRatio: 16:9". This doesn't seem to work with or without the prop quoting. The prop by itself works fine.
Windows 11, 23H2 Build 22631.3447 at 100% 2560x1440

admin
Site Admin
Posts: 60601
Joined: 22 May 2004 16:48
Location: Win8.1 @100%, Win10 @100%
Contact:

Re: Visual Filters for properties

Post by admin »

That looks like a brand new bug... :bug: ... tomorrow...

jupe
Posts: 2798
Joined: 20 Oct 2017 21:14
Location: Win10 22H2 120dpi

Re: Visual Filters for properties

Post by jupe »

At the risk of going off-topic, it seems another new bug has been introduced with this new VF implementation, now certain color filters are not working, below is a couple quick fictitious examples that are now non-functional entries in ICF, but the same applies to normal CF's.

Code: Select all

"NOT WORKING" L:name: a*>FFFFFF,B97026
"NOT WORKING EITHER" name f: a*>FFFFFF,B97026

admin
Site Admin
Posts: 60601
Joined: 22 May 2004 16:48
Location: Win8.1 @100%, Win10 @100%
Contact:

Re: Visual Filters for properties

Post by admin »

klownboy wrote: 02 Oct 2019 19:58 Should this work as visual filter (via manage visual filters) combining {:Image} with prop? "Image Aspect Ratio 16:9" {:Image} AND "prop:#AspectRatio: 16:9". This doesn't seem to work with or without the prop quoting. The prop by itself works fine.
Will work in next beta. The correct way is without quoting:
{:Image} AND prop:#AspectRatio: 16:9

FYI, the parser can also handle this (so the various colons (:) are treated correctly):
{:Image} AND prop:#AspectRatio: 16:9 AND size: > 100KB

admin
Site Admin
Posts: 60601
Joined: 22 May 2004 16:48
Location: Win8.1 @100%, Win10 @100%
Contact:

Re: Visual Filters for properties

Post by admin »

jupe wrote: 03 Oct 2019 05:45 At the risk of going off-topic, it seems another new bug has been introduced with this new VF implementation, now certain color filters are not working, below is a couple quick fictitious examples that are now non-functional entries in ICF, but the same applies to normal CF's.

Code: Select all

"NOT WORKING" L:name: a*>FFFFFF,B97026
"NOT WORKING EITHER" name f: a*>FFFFFF,B97026
Confirmed and fixed in next beta.

klownboy
Posts: 4141
Joined: 28 Feb 2012 19:27

Re: Visual Filters for properties

Post by klownboy »

Working great now. Thanks. :tup: By the way I would assume that there is probably not much benefit in use of {:Image} along with prop:#AspectRatio: 8:5 when you are in a image folder containing basically nothing but images, but there may be a benefit in a very mixed folder loaded with non-images as well. Is that true? I thought there was something in the Help concerning that point.
admin wrote: 03 Oct 2019 10:45
The correct way is without quoting:
{:Image} AND prop:#AspectRatio: 16:9
Yes, I figured that but I had incorrectly tried quoting also when testing.
Windows 11, 23H2 Build 22631.3447 at 100% 2560x1440

admin
Site Admin
Posts: 60601
Joined: 22 May 2004 16:48
Location: Win8.1 @100%, Win10 @100%
Contact:

Re: Visual Filters for properties

Post by admin »

Absolutely true! The AND-ed parts are evaluated from left to right, and once a check is FALSE the remaining checks are not even tried. So you should put the faster checks to the left.

Post Reply