Is there some way to mogrify images so that only the y axis (height) of the image is factored?
So what I mean is if I have say 20 images and they are all like:
1.jpg = 1024 x 768
2.jpg = 568 x 337
3.jpg = 290 x 560
It's fairly easy to make all of these be 500px wide and maintain the current aspect ratio by doing this:
mogrify -resize 500 *.jpg
or if I want to make them all 500 x 468 then I can do this
mogrify -resize 500x468 *.jpg
but I can't figure out how I can reset the height of all the images to (for example) 468 and retain the same aspect ratio, where all the images are already different sizes. I'd really like to know how to do it so does anybody know if this is possible?
I don't have my hopes up, and it would be quicker for sure to do all this in GIMP rather than waiting for a reply, but y'know, for the benefit of future generations and all that...




