How can I resize to achieve 400px height for all pics?

XnConvert Multi Platform - Windows, MacOSX, Linux

Moderators: helmut, XnTriq, xnview

Post Reply
windozer
Posts: 8
Joined: Tue Nov 04, 2008 12:59 am

How can I resize to achieve 400px height for all pics?

Post by windozer »

Hello,

I'd like to know how I can batch convert images so that they all have 400px height after conversion, but with aspect ratio maintained. In XnConvert I can choose "Fit" as for the conversion mode, but strangely I still have to enter px values for both, height and width. I'd like to enter only height 400px and then have all pictures converted to pics with 400px height and the width should be adjusted in order to maintain the ratio.

My source files are all different, not from a camera. So I cannot simply use 'longest side' etc. As far as I understand, 'longest side' means that XnConvert looks what is the longest side of the image and then resizes this side and adjusts the other accordingly. But as I said, I want all images have 400px height, no matter what source dimensions.
obelisk
Posts: 479
Joined: Fri Jan 09, 2009 9:54 am

Re: How can I resize to achieve 400px height for all pics?

Post by obelisk »

how about you put in 9999999 for width, try it, and save your time typing that long story?
User avatar
xnview
Author of XnView
Posts: 46236
Joined: Mon Oct 13, 2003 7:31 am
Location: France
Contact:

Re: How can I resize to achieve 400px height for all pics?

Post by xnview »

If you set 0 for width, and 400 for height?
Pierre.
Post Reply