Batch Resizing Images with If/Then?

TG
Posted By
Todd_Griffith
Sep 26, 2008
Views
233
Replies
4
Status
Closed
Hi All,

Needing to do some batch file resizing to certain specs. I’ve got a folder full of images, some that are horizontal and some that vertical.

What I need to do is batch resize them so that, for instance, the horizontal images resize to 400 pixels wide while a vertical resizes to 300 pixels tall.

Is there any sort of IF/THEN statement in an action that can do that? Automatically detect "If the width is greater than the height, change width to 400 pixels" and/or "If the height is greater than the width, change height to 300 pixels"

Hope this makes some sort of sense. Many thanks!

Master Retouching Hair

Learn how to rescue details, remove flyaways, add volume, and enhance the definition of hair in any photo. We break down every tool and technique in Photoshop to get picture-perfect hair, every time.

PR
Paul_R
Sep 26, 2008
File – Automate – FitImage
or
File – Scripts – Image Processor

Both should do what you want.
TG
Todd_Griffith
Sep 26, 2008
Now how did I miss that? (slaps head) Many thanks!
MR
Mark_Reynolds
Oct 2, 2008
You probably missed it because they are both stuck away in the Scripts menu.
TG
Todd_Griffith
Oct 2, 2008
Yes, I did find it. Many thanks!

How to Improve Photoshop Performance

Learn how to optimize Photoshop for maximum speed, troubleshoot common issues, and keep your projects organized so that you can work faster than ever before!

Related Discussion Topics

Nice and short text about related topics in discussion sections