Link to home
Start Free TrialLog in
Avatar of djcheeky
djcheekyFlag for United States of America

asked on

Creating an action to position a copyright logo in the bottom right corner of an image

At the moment, I can only create an action to position a copyright logo in the top left corner of an image.

The reason for this is because you know the top left will always be 0,0 px.

Now what if you want to position the logo in the bottom right, or bottom middle. It might be easy if you do it manually.
But for my purposes, I will be creating an action to position the logo automatically on a bulk of pictures.

Not every picture will have the same dimensions, so the bottom and right hand co-ordinates will always be changing.

How do I calculate what the bottom right co-ordinates are, and then position something like a logo there???

Please help

Thanks
Avatar of mleeb
mleeb
Flag of United States of America image

7 Easy Steps:
01. Create a new action
02. Start recording
03. Select the type tool
04. Set the type tool to right justification
05. Click in the lower right corner
06. Type your logo
07. Stop recording

*as long as you don't use the move tool to adjust the location the text path is by default calculating it's location by width/height percentages
don't believe me? after recording the action expand the "make text layer" and you'll see Text Click Point: followed by 2 percentages

Now if you want to be a little more complicated and use an image instead of text:
Preparation:
Create a file called logo.psd with your logo you plan to use
Save this file somewhere you won't be tempted to move it around (it's location is important to the action)
01. Open a Document
02. Create a new action
03. Start Recording
04. Open logo.psd
05. Make a selection of your logo
06. Copy
07. Select Document from step 1
08. Paste
09. Link New Layer (containing pasted element) with background (ie paintbrush on background paperclip on layer with logo)
10.Now that they are linked you can choose your method of alignment from:
Layer>Align Linked>Bottom Edges or Right Edges (or any number of combinations)
*Make sure you use the Layer>Align Linked method instead of the Move tool Align options (actions won't record those)
11.Close logo.psd
12.Save Document
13.Stop Recording

Depending on the document type/color range etc you may want to add additional steps to accomodate
such as forcing it into rgb mode at the beginning
or perhaps reducing the logo layers transparency to give the good old watermark effect
There are numerous ways this procedure can be customized, the trick to it
is step 10 where you choose to align from the menu instead of the move tool
ASKER CERTIFIED SOLUTION
Avatar of iuhh
iuhh

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of dearsina
dearsina

Cleaver. Very cleaver.

sina
london

Hi,

1. have a remark with the 180 deg tip, when making an action:
-  the coordinates are relatives to the reference point,
- e.g. after moving the layer, the action recorded "moved (-xxx, -yyy)"
- well, the layer is at the top left (before re-rotating), and it works

But it will not work for other pictures with different sizes... (eg portrait vs landscape) !

Am i wrong and there is a way to make the action record an actual (0,0) absolute coordinates?

2.  I tried mleeb tip, but get the error "Could not complete the Bottom Edges command because none of the pixels in the target layer are more than 50% opaque" .....

- is there a way to fix that?

Thanks



By the way I just found a site providing a WORKING solution :

http://www.wildlifephoto.net/articles/emboss.html

regards