Page 1 of 1

sort by ratio

Posted: Sat Dec 15, 2018 9:52 am
by pvpp
how can I sort by ratio?

Re: sort by ratio

Posted: Sat Dec 15, 2018 4:46 pm
by michel038
Pictures are correctly sorted by ratio, but the "displayed ratio type" needs to be specified.
In default thumbnails view, ratios are always greater than 1, xnviewmp divides the largest value by the smallest .

Go to Settings, (Browser), Thumbnails, Labels.
Add a Custom label with the arrow.
Select this custom label. At the bottom of the window, you can edit it
Use ">>" button
Select "Image", and "Ratio Width/Height"

Re: sort by ratio

Posted: Mon Dec 17, 2018 9:31 am
by pvpp
Thanks,
but I want to find out which pictures have a ratio format <> 1,5 or may be <> 0.66

Re: sort by ratio

Posted: Mon Dec 17, 2018 9:49 am
by cday
pvpp wrote:
Mon Dec 17, 2018 9:31 am
Thanks,
but I want to find out which pictures have a ratio format <> 1,5 or may be <> 0.66
In the browser there is an option View > Sort by -- Ratio , does that enable you to see what you need?

Re: sort by ratio

Posted: Mon Dec 17, 2018 9:53 am
by pvpp
Thank you for answer.
No, ist the same sort order.

Re: sort by ratio

Posted: Mon Dec 17, 2018 2:47 pm
by michel038
"Filter" is different from "Sort"
If you want to filter ratios, use Tools, Search, ... and add a condition
The only ratios you can filter are shown in the picture below.

If you want to filter other values, the only method is to sort photos by ratios, look for the ones you want, tag them, and then , filter with tags. (right click)

Re: sort by ratio

Posted: Mon Dec 17, 2018 4:08 pm
by pvpp
Thank you.
Yes it works, but I want pictures in a range between 1.4 to 1.6.
Otherwise I get just the right ratios: 1.4, 1.5, 1.6. or something like attachment.
Bildschirmaufnahme 12.png

Re: sort by ratio

Posted: Wed Dec 19, 2018 9:49 am
by michel038
If you often use this query on large amounts of photos, you can :
- select all photos and create a file list (Create, File listing)
- define the (pattern) (template) for this list, something like {Directory}{Filename With Ext},{RatioWH} (use comma or semicolon as separator)
- sort and filter this list in Excel or Calc, and save the result (MyListRatio.txt) with csv format
- open this filtered file list in Xnviewmp (File, Open file list...)

Otherwise, use the other method I specified, with tags, tagging can be used with a right clic.

I'm using a category ( a IPTC keyword) for panoramic photos.
Maybe you can use some categories for further searches (verywide, wide, normal, narrow, square, vertical ...)?



Wenn Sie diese Abfrage häufig bei großen Mengen von Fotos verwenden, können Sie :
- alle Fotos auswählen und eine Dateiliste erstellen (Erstellen, Dateiliste)
- Definiere das (Muster) (Vorlage) für diese Liste, etwa {Directory}{Filename With Ext},{RatioWH} (verwende Komma oder Semikolon als Trennzeichen).
- diese Liste in Excel oder Calc sortieren und filtern, und das Ergebnis (MyListRatio.txt) im csv-Format speichern.
- diese gefilterte Dateiliste in Xnviewmp öffnen (Datei, Dateiliste öffnen....)

Andernfalls verwenden Sie die andere von mir angegebene Methode, mit Tags, Tagging kann mit einem rechten Klick verwendet werden.

Ich verwende eine Kategorie (ein IPTC-Schlüsselwort) für Panoramafotos.
Vielleicht können Sie einige Kategorien für weitere Suchen verwenden (sehrbreit, breit, normal, eng, quadratisch, vertikal....)?

Übersetzt mit www.DeepL.com/Translator