i´m just thinking about a way to achive the following effect.
I´ve a lot of Pictures with different aspect-ratios. Some are Portrait, some are Landscape. Now i want to scale the Landscape-Pictures to a width of 900 Pixel and the Portait ones to a height of 750 Pixels.
I was thinking about a script witch looks for the x and y of the picture and if x is greater than y (aka Landscape) then scale pic to width of 900 and else scale to a height of 750. I´ve no idea how to script the converter.