Filter by orientation and dimensions: Long edge entry resets to 0

Started by ubacher, April 26, 2024, 02:50:59 PM

Previous topic - Next topic

ubacher

I have some jpg images which are very wide and thin. To filter these images I entered into the
filter panel setting by orientation and dimension  the Long Side value of 44000.
long side 32k.jpg

This worked fine ( I found my largest to be at 32000!)
BUT: when switching folders the Long Side value is reset to 0.
Investigation shows this happens only when the entered value is larger than 32000.

I assume this was once assumed to be the largest reasonable value.

Mario

The default limit is 2^15. IMatch sets the range to 0 - 99999 but I forgot that there is a SetPos method 16-bit and also a SetPos32 method 32-bit for setting the form value. Since SetPos was used, Windows cuts of at 32768.
I have changed that to using SetPos32, although images wider than 32768 is a bit of a niche.
-- Mario
IMatch Developer
Forum Administrator
http://www.photools.com  -  Contact & Support - Follow me on 𝕏 - Like photools.com on Facebook

ubacher

Quotealthough images wider than 32768 is a bit of a niche.

For sure. But when you want to search for images greater than.... you need to put a less than ...
and logicaly this would be infinity.

Anyway - thanks for fixing.