Page 1 of 1

Resize image so they all have same aspect ratio

Posted: Thu Aug 11, 2016 3:26 pm
by rimages
I have a folder of images that vary in size and aspect ratio.

The largest image is 1920 * 1772 (16 : 9 aspect ratio), and the smallest image is 480 * 72 (4 : 9 aspect ratio) - with all sorts of aspect ratios in between. I need to resize these images so they're all the same aspect ratio, without any part of the image being cropped (so preserving which ever bit is greater - width of height)

So, if I want an aspect ratio of 16:9 I would need to resize thus:

Code: Select all

480px * 72px     ==>    480px * 270px;
500px * 500px    ==>    899px * 500px;
I've tried various methods, but have been unable to do this.

A pal told me that XnViewMP is the perfect tool for this job, but after I downloaded admitted he didn't know how to do it.... Does anyone have any advice?

Many thanks,
Rob

Re: Resize image so they all have same aspect ratio

Posted: Sat Aug 13, 2016 12:45 am
by XnTriq
Welcome aboard, Rob (-:

Am I correct that you're looking for a way to batch-resize (“Enlarge only”) images of varying aspect ratios to a consistent aspect ratio (“retargeting”?) of 16:9 without cropping (“fit over”) or added padding (“fit in”)?
If so, then XnViewMP can't do it as of now.