Please provide crop aspect ratios <1.0

Ideas for improvements and requests for new features in XnView MP

Moderator: xnview

Post Reply
rsbrux
Posts: 39
Joined: Sun May 20, 2018 5:08 am

Please provide crop aspect ratios <1.0

Post by rsbrux »

I like to use 16:9 or 9:16 as the standard aspect ratio for most pictures, and there are other portrait mode aspect ratios that I use (e.g. 3:4 for portraits or 0.707 for A4). However, XnView only seems to provide crop aspect ratios for landscape mode (e.g. 1.78 for 16:9 or 1.414 for A4). Please add aspect ratios for portrait mode.
XnViewMP 1.9.5 64-bit
running under Windows 11 Pro x64 25H2
User avatar
xnview
Author of XnView
Posts: 47072
Joined: Mon Oct 13, 2003 7:31 am
Location: France
Contact:

Re: Please provide crop aspect ratios <1.0

Post by xnview »

you can edit CropSize.xml
Pierre.
rsbrux
Posts: 39
Joined: Sun May 20, 2018 5:08 am

Re: Please provide crop aspect ratios <1.0

Post by rsbrux »

Thanks, but I don't find any such file. Where is it located?

P.S. A search my installation directory, c:\Program Files\XnViewMP, finds no XML files at all.
Searching the entire PC for cropsize.xml or CropSize.xml comes up empty.
XnViewMP 1.9.5 64-bit
running under Windows 11 Pro x64 25H2
rsbrux
Posts: 39
Joined: Sun May 20, 2018 5:08 am

Re: Please provide crop aspect ratios <1.0

Post by rsbrux »

As it turns out, XnView MP handles this automatically in most cases. If I select 16:9 and attempt to make a crop selection on a portrait mode picture, XnView MP automatically uses 9:16 instead. However, there are still cases where this does not suffice, e.g. when I want to crop a portrait mode cutout out of a landscape mode picture.
XnViewMP 1.9.5 64-bit
running under Windows 11 Pro x64 25H2
User avatar
user0
XnThusiast
Posts: 2682
Joined: Sat May 09, 2015 9:37 am

Re: Please provide crop aspect ratios <1.0

Post by user0 »

rsbrux wrote: Mon Sep 02, 2024 7:09 am
xnview wrote: Mon Sep 02, 2024 6:45 am you can edit CropSize.xml
Where is it located?
1. open any image
2. press Shift+X
3. press ... button
4. press OK
CropSize.xml will appear in app folder
Kadet
Posts: 223
Joined: Thu Oct 20, 2022 7:23 pm

Re: Please provide crop aspect ratios <1.0

Post by Kadet »

rsbrux wrote: Tue Oct 08, 2024 1:00 pm As it turns out, XnView MP handles this automatically in most cases. If I select 16:9 and attempt to make a crop selection on a portrait mode picture, XnView MP automatically uses 9:16 instead. However, there are still cases where this does not suffice, e.g. when I want to crop a portrait mode cutout out of a landscape mode picture.
If you select specific proportions and select a part of the photo, after clicking again on the proportions option and selecting "specific ratio", the proportions are reversed. So, for example, from the initial selection of 16:9 you can make 9:16.
rsbrux
Posts: 39
Joined: Sun May 20, 2018 5:08 am

Re: Please provide crop aspect ratios <1.0

Post by rsbrux »

@user0
Thanks, that created the file.

@Kadet,
That doesn't work for me (in XnViewMP 1.80). I see no change in the drop-down menu for aspect ratios when a selection is active in the picture and no "specific ratio". There is an entry "fixed ratio", but it doesn't seem to do anything.
XnViewMP 1.9.5 64-bit
running under Windows 11 Pro x64 25H2
Kadet
Posts: 223
Joined: Thu Oct 20, 2022 7:23 pm

Re: Please provide crop aspect ratios <1.0

Post by Kadet »

rsbrux wrote: Wed Oct 09, 2024 3:23 pm @Kadet,
That doesn't work for me (in XnViewMP 1.80). I see no change in the drop-down menu for aspect ratios when a selection is active in the picture and no "specific ratio". There is an entry "fixed ratio", but it doesn't seem to do anything.
You have right, sometimes it's not work, but mostly for me it works.
But of course, You can add new aspect ratios via "...".
LukeP
Posts: 2
Joined: Sun Oct 26, 2025 7:22 am

Re: Please provide crop aspect ratios <1.0

Post by LukeP »

Definitely not good enough. If I set two entries, 16:9 and 9:16, I want them to do just what they are supposed, always, with an option to switch the aspect ratio, just in case. Instead, any entry behaves in a completely incoherent way: first time it's selected, it defaults to the portrait/landscape mode corresponding to that of the entire image. After that, it mantains the same aspect ratio for any subsequent image, no matter what. This is very annoying. There is absolutely no reason why a crop operation would always match the aspect ratio of the entire image.

In general, being new to this program, I find it very powerful but badly designed, with lots of annoyances and useless complications that could be easily corrected. What a shame.
Post Reply