Skip to main content
Participant
September 9, 2008
Question

Customize Place

  • September 9, 2008
  • 5 replies
  • 563 views
I usually use File > Place... command to place a watermark, which is a .psd file, in the middle of my photos (I created an Action that exactly does this).

Is there a way to programatically (with or without scripting involved) adjust where to place the watermark? For example, to place it at the bottom-left corner (5px from the left; 5 px from the bottom).

Thanks beforehand for any inputs.

Buhi
This topic has been closed for replies.

5 replies

Participant
September 15, 2008
Thanks both for the useful replies.

george's suggestion solves my simple use case nicely. For ones who know more about scripting, xbytor's script might be a useful one to keep in your toolbox.
Inchindown
Inspiring
September 10, 2008
If you don't want to use a script, you can just add a few steps to your place action.

After you have placed the watermark image, use the Align Layers option to Align Bottom Edges and Align Left Edges.

Then choose the Move tool and nudge the watermark up and right by 5 pixels.
Participant
September 10, 2008
Thanks xbytor for the reply.

I downloaded your script and was wondering how to run the script as a standalone? I could not find any explanation in the user guide.

Thanks.
Known Participant
September 10, 2008
> I downloaded your script and was wondering how to run the script as a standalone? I could not find any explanation in the user guide.

The guide is not quite done.

Run it like any other script:

1) Double-click it
2) Drop it on Ps
3) Move it to the Ps Presets/Scripts folder.
It will be in your File->Scripts after you restart Ps.

-X
Participant
September 10, 2008
Thanks for the reply xbytor. I downloaded your script and was wondering how would you run it as a standalone script? I could not find any explanation in the user guide.

Thanks.
Known Participant
September 9, 2008
Buhi_Mume@adobeforums.com wrote:
> Is there a way to programatically (with or without scripting involved) adjust where to place the watermark? For example, to place it at the bottom-left corner (5px from the left; 5 px from the bottom).

I posted an updated version of my XWatermark script here:

http://www.ps-scripts.com/bb/viewtopic.php?p=9518

It does what you need and also contains the JS code for handling alignments if
that's all you are really after. There is a method called
WatermarkUI.prototype.applyWatermark

which is where all of the interesting stuff starts to happen.

You can add watermarks as text, shapes, or images, align them as required and
optionally specify a layer style.

-X