Resize image so they all have same aspect ratio

Ask for help and post your question on how to use XnView MP.

Moderators: helmut, XnTriq, xnview

Post Reply
rimages
Posts: 1
Joined: Thu Aug 11, 2016 2:07 pm

Resize image so they all have same aspect ratio

Post 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
User avatar
XnTriq
Moderator & Librarian
Posts: 6512
Joined: Sun Sep 25, 2005 3:00 am
Location: Ref Desk

Re: Resize image so they all have same aspect ratio

Post 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.
Post Reply