Page 1 of 1

resize lower dimension ( W or H )

Posted: Wed Dec 28, 2011 9:18 pm
by froggy
Hi , all

i didn't found a similar script on the forum so i take my chance.

what i have : jpg with dimension:
5184 x 3456
or
3456 x 5184

what i want : : jpg with 3000px on lower size and keeping ratio ie :

4500 x 3000
or
3000 x 4500

actually i use this :

Code: Select all

nconvert -overwrite -out jpeg -ratio -rtype lanczos -rflag decr -resize 3000 0 IMG*
but obviously, it works only for image with 5184 x 3456 orientation

if someone could give me a hand with this,

thanks a lot

Re: resize lower dimension ( W or H )

Posted: Fri Dec 30, 2011 12:52 pm
by xnview
Do you have tried

Code: Select all

-rflag orient