How to detect orentation of an image inan action

G
Posted By
Grebo
Feb 27, 2007
Views
274
Replies
1
Status
Closed
I want to write an action that works on and can detect if the image is landscape or portrait.

The Break down is

If portrait then set the image height to 400px
If portrait then set the image width to 400px

Set the canvas size = 410 X 410

Then there is other processing to be done…
The rest I can do no Problems

MacBook Pro 16” Mockups 🔥

– in 4 materials (clay versions included)

– 12 scenes

– 48 MacBook Pro 16″ mockups

– 6000 x 4500 px

TW
Toobi Won Kenobi
Feb 27, 2007
wrote in message
I want to write an action that works on and can detect if the image is landscape or portrait.

The Break down is

If portrait then set the image height to 400px
If portrait then set the image width to 400px

Set the canvas size = 410 X 410

Then there is other processing to be done.
The rest I can do no Problems

File>Automate>Fit_Image
or:
Use Image Processor from Bridge to do the same thing but with more options.

TWK

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