Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Action to add test for portrait and landscape orientation

0 views
Skip to first unread message

Graham Russell

unread,
Feb 19, 2006, 1:14:34 PM2/19/06
to
I'm struggling to build an action that will add text to the bottom of both
portrait and landscape images.

I have actions to add text to portrait images and landscape images
separately, but I don't know how you find the bottom edge of an image within
an action.

Is it possible to test if an image is landscape or portrait within an
action? Or is it possible to find the height of an image so the text can be
offset by an appropriate amount?

I am able to build Perl & Javascript scripts to test for landscape and
portrait images outside of Photoshop and then call the appropriate landscape
and portrait actions. But longer term I know this will be a real pain.

I would like to have a single action that I can batch that's able to sense
landscape and portrait orientations.

Thanks for any tips.

Graham.

Mike Hyndman

unread,
Feb 19, 2006, 1:55:31 PM2/19/06
to

"Graham Russell" <graham-...@dsl.pipex.com> wrote in message
news:NcadnXZ9ldk...@pipex.net...
Graham.,

There is a movie tutorial at http://av.adobe.com/russellbrown/BrandingSM.mov
that inserts a watermark in an image irrespective of its aspect ratio. Maybe
you can modify it to your requirements.

HTH
MH


Mike Hyndman

unread,
Feb 19, 2006, 2:19:03 PM2/19/06
to

"Graham Russell" <graham-...@dsl.pipex.com> wrote in message
news:NcadnXZ9ldk...@pipex.net...
Graham.,

Found this,

"One drawback is that I need to do a different action depending on if the
pic is horizontal or vertical, because I have to move the logo to the right
place on the pic.
One thing that may help is to take advantage of Photoshop's Align Layers To
Selection Feature.

Essentially, you include in your action the following: Select|All;
Layer|Align Layers To Selection|Bottom; Layer|Align Layers To
Selection|Right. Optionally include some nudges to keep it off of the edges.

That will align the active layer relative to the entire image (Select|All)."

HTH
MH


Graham Russell

unread,
Feb 19, 2006, 4:19:03 PM2/19/06
to

"Mike Hyndman" <mi...@tmphynd-bats-man.demon.co.uk> wrote in message
news:dtagea$t2$1$830f...@news.demon.co.uk...

Mike,

That's a great help. Thanks a lot.


Mike Hyndman

unread,
Feb 19, 2006, 5:00:59 PM2/19/06
to
> That's a great help. Thanks a lot.
Graham,

You're welcome.

Mike H


0 new messages