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

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.

Related Discussion Topics

Nice and short text about related topics in discussion sections