Image convert, but only down, not up

Similar to Image convert longest=600

If I have a bunch of images I want to convert to be no more than 1200 pixels tall, I can use
use HEIGHT = 1200 PRESERVE ASPECT RATIO, but the problem is this will scale up landscape images that aren't 1200 tall, and I don't want that. I could use WIDTH = 1200 HEIGHT = 1200 but that would scale DOWN landscape images. VidCoder has an option to do a similar thing, eg specify either a width or height, but has a further switch to DOWNSCALE ONLY.

So, does such a thing exist, or is there some cunning method to scale down portrait AR images to 1200, but at the same time not scale UP landscapes to 1200 tall? Basically, I want to make images regardless of AR that don't exceed 1200 pixles. I can't use a percentage because the sources vary.

Maybe... HEIGHT = 1200 PRESERVE ASPECT RATIO DOWNSCALEONLY?

There's a NOENLARGE argument for that.

doh! Thanks again Leo. I looked, but I need to open my eyes next time.

Living is easy with eyes closed
Misunderstanding all you see... :slight_smile:

You're too young for the Beatles Jon :stuck_out_tongue:

1 Like