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.
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
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
Mike,
That's a great help. Thanks a lot.
You're welcome.
Mike H