Page 1 of 1
Batch resizing depending on image W/H ratio
Posted: Wed Jun 16, 2010 8:43 am
by biomechanic
I've got a bunch of random sized pictures that need to be made into 128x96 thumbnails by first resizing the shorter dimension to 128px if it is width, or 96px if height, and then canvas resising the other one to 96(h) or 128(w).
Are there setting in the batch processing that would do that?
(I've played a bit with various resize options but without success)
Re: Batch resizing depending on image W/H ratio
Posted: Wed Jun 16, 2010 11:44 am
by xnview
Do you have tried to use 'follow orientation'?
Re: Batch resizing depending on image W/H ratio
Posted: Wed Jun 16, 2010 11:55 am
by biomechanic
Yes, I tried that, but it doesn't do what I need, which is:
1) find out which dimension is shortest (width/height),
2) resize the image so that this dimension is either 128px (width) or 96px (height).
To get the final result (128x96px thumbnail):
3) canvas resize the longer dimension to 128px (width, if height was shorter) or 96px (height, if width was shorter).
Re: Batch resizing depending on image W/H ratio
Posted: Wed Jun 16, 2010 12:23 pm
by xnview
biomechanic wrote:Yes, I tried that, but it doesn't do what I need, which is:
1) find out which dimension is shortest (width/height),
2) resize the image so that this dimension is either 128px (width) or 96px (height).
To get the final result (128x96px thumbnail):
3) canvas resize the longer dimension to 128px (width, if height was shorter) or 96px (height, if width was shorter).
Here i can only suggest you to use XnViewMP batch convert
Re: Batch resizing depending on image W/H ratio
Posted: Wed Jun 16, 2010 2:02 pm
by biomechanic
Thanks.