Is there any way to sort by dimensions?

Ask for help and post your question on how to use XnView MP.

Moderators: helmut, XnTriq, xnview

Post Reply
Mivsa
Posts: 2
Joined: Fri May 10, 2024 2:33 pm

Is there any way to sort by dimensions?

Post by Mivsa »

Windows have some "dimensions" sorting that sort images looking at their width and height and it is super handy in folders with a lot of files to find duplicates or similar images but either the "image size" and "ratio" of xnview give me different sorting results than windows.
Is there any way?
cday
XnThusiast
Posts: 4415
Joined: Sun Apr 29, 2012 9:45 am
Location: Cheltenham, U.K.

Re: Is there any way to sort by dimensions?

Post by cday »

Mivsa wrote: Fri May 10, 2024 2:36 pm Windows has some "dimensions" sorting options that sort images looking at their width and height and it is super handy in folders with a lot of files to find duplicates or similar images...
In the browser View > Sort by has Image Width and Image Height options... :D

That's in XnView MP 1.7.1, I'm not sure when they were added.
Mivsa
Posts: 2
Joined: Fri May 10, 2024 2:33 pm

Re: Is there any way to sort by dimensions?

Post by Mivsa »

cday wrote: Fri May 10, 2024 5:17 pm
Mivsa wrote: Fri May 10, 2024 2:36 pm Windows has some "dimensions" sorting options that sort images looking at their width and height and it is super handy in folders with a lot of files to find duplicates or similar images...
In the browser View > Sort by has Image Width and Image Height options... :D

That's in XnView MP 1.7.1, I'm not sure when they were added.
Yeah I know but that isn't what I need, dimensions considers both at once, that gives the proper results
cday
XnThusiast
Posts: 4415
Joined: Sun Apr 29, 2012 9:45 am
Location: Cheltenham, U.K.

Re: Is there any way to sort by dimensions?

Post by cday »

Mivsa wrote: Fri May 10, 2024 7:52 pm [In Windows] dimensions considers both at once, that gives the proper results
Presumably 'width x height', the image area?
User avatar
user0
XnThusiast
Posts: 2459
Joined: Sat May 09, 2015 9:37 am

Re: Is there any way to sort by dimensions?

Post by user0 »

Mivsa wrote: Fri May 10, 2024 2:36 pm it is super handy in folders with a lot of files to find duplicates or similar images
Browser mode > Tools > Find similar files... ?

Speaking about 'Image size' sorting option, I see few issues:
- it refers to Properties column
- Properties column has "WxH, M" values
image_size_in_pixels.png


Suggestion
I think its better to:
  • rename 'Properties' column to 'Image Dimensions' (see ACDSee example)
  • add new 'Image size' column
    that works similar to File size column, displaying decimal value in pixels with Auto scaling (eg GP,MP,KP,P OR Gpx,Mpx,Kpx,px OR just use MP and move decimal separator). Functionality to disable 'Auto scaling' can be handy as well, same as Display file size in bytes checkbox for File size column.

    related:
    Add column Total Pixels
Post Reply