Batch Convert: Resize by Height (or Width) Only

Reported bugs that have been closed and/or resolved

Moderators: XnTriq, helmut, xnview, Dreamer

Post Reply
User avatar
m.Th.
XnThusiast
Posts: 1662
Joined: Wed Aug 16, 2006 6:31 am
Contact:

Batch Convert: Resize by Height (or Width) Only

Post by m.Th. »

I have a "big" problem almost anytime when I want to promote the program to newcomers. They almost always ask something like this:

"How can I batch resize photos to have 1080 px in Height?"
"How can I batch resize photos to be 700 px width for my site?"
etc.

They are turned away by the fact that XnView MP does not have a straightforward way (!!) to do this. Ok, it can be simulated by using the following settings
XnV-Resize.jpg
XnV-Resize.jpg (15.05 KiB) Viewed 1565 times
but it feels "too complicated" for them.

A much, much better interface would be something like this (sorry for the "formatting"):
XnV-Resize-Height.jpg
XnV-Resize-Height.jpg (14.07 KiB) Viewed 1565 times
This would help a ton in program's acceptance among new users.

From implementation pov is very simple: just add two new modes (Height only and Width only) and hide the unnecessary boxes. Fill the hidden values with 999999 (infinite) and use the code from "Fit" mode. Of course you can write optimized code for each case separately if you want.
m. Th.

- Dark Themed XnViewMP 1.6 64bit on Win11 x64 -
User avatar
xnview
Author of XnView
Posts: 43326
Joined: Mon Oct 13, 2003 7:31 am
Location: France
Contact:

Re: Batch Convert: Resize by Height (or Width) Only

Post by xnview »

See issue for current status and some details.
Pierre.
User avatar
xnview
Author of XnView
Posts: 43326
Joined: Mon Oct 13, 2003 7:31 am
Location: France
Contact:

Re: Batch Convert: Resize by Height (or Width) Only

Post by xnview »

This problem is supposed to be fixed in XnView MP 0.91. Please check and confirm the bug fix here.
Pierre.
User avatar
m.Th.
XnThusiast
Posts: 1662
Joined: Wed Aug 16, 2006 6:31 am
Contact:

Re: Batch Convert: Resize by Height (or Width) Only

Post by m.Th. »

fixed 0.91b1
m. Th.

- Dark Themed XnViewMP 1.6 64bit on Win11 x64 -
Post Reply