I'm trying to batch resize images for loading on new Samsung Galaxy a tablet with a 2560x1600 pixel screen. That's a wide aspect ratio of 1.6. I'm experienced with the Image Processor (actually use the Russell Brown "Pro" version), Fit Image, plus a couple custom scripts.
To fit on the Samsung tablet, I want the images to be no bigger than 2560 pixels on the long side, AND no bigger than 1600 pixels on the short side. I want to maintain the original aspect ratio (no cropping).
The Image Processor and Fit Image both make the image no bigger than "x" on the long side OR "y" on the short side. The problem is the difference between "AND" and "OR" logic.
Example: If I give the Image Processor 2560 in both width and height to resize a 5616x3744 landscape image, I get a 2560x1707 image. The 2560 is good, the 1707 is too big. I want it to come out 2400x1600. I can enter resize dimensions of 2560x1600 and that works, but only on landscapes, so I would have to separate landscapes from portraits.
Anybody know a technique or a script that will resize portraits and landscapes with "AND" logic instead of "OR" logic?