Batch Convert: Resize by Height (or Width) Only

Reported bugs that have been closed and/or resolved

Moderators: XnTriq, xnview, Dreamer

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

Batch Convert: Resize by Height (or Width) Only

Post by m.Th. » Wed Dec 27, 2017 4:55 pm

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 554 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 554 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.

The Ascetic Experience - The best photos and texts from Holy Mountain (Athos)

- Dark Themed XnViewMP 0.90 64bit & XnView 2.00 x64 on Win7 x64 -

User avatar
xnview
Author of XnView
Posts: 30262
Joined: Mon Oct 13, 2003 7:31 am
Location: France
Contact:

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

Post by xnview » Fri May 25, 2018 9:06 am

See issue for current status and some details.
Pierre.

User avatar
xnview
Author of XnView
Posts: 30262
Joined: Mon Oct 13, 2003 7:31 am
Location: France
Contact:

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

Post by xnview » Thu Jun 07, 2018 9:38 am

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: 1491
Joined: Wed Aug 16, 2006 6:31 am
Contact:

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

Post by m.Th. » Fri Jun 08, 2018 6:48 am

fixed 0.91b1
m. Th.

The Ascetic Experience - The best photos and texts from Holy Mountain (Athos)

- Dark Themed XnViewMP 0.90 64bit & XnView 2.00 x64 on Win7 x64 -

Post Reply