Results 1 to 6 of 6

Thread: Border with Signature

  1. #1

    Default Border with Signature

    Any idea what is the best way to add borders and signature (jpeg format) to a photo fast?
    I tried to use action in CS5, the borders can be done, but not the signature because the placement of the signature will run around for every different pic due to the pic size.
    D700 - 24-70mm F2.8 ED - 105mm VR2 Micro - Samyang 14mm - 50mm 1.8D - Mb 10 - SB900 - SB400

  2. #2

    Default Re: Border with Signature

    I have a workaround for this; when recording actions with the text layer on top, go Layer> Align Layer to Selection > Bottom edges. Then Layer> Align Layer to Selection > Right Edges. After this, nudge the signature as you see fit (the nudging seems to work for different pic sizes for me). This is assuming signature at bottom right corner

  3. #3

    Default Re: Border with Signature

    how to insert the jpeg signature to the layer and save it as action?
    D700 - 24-70mm F2.8 ED - 105mm VR2 Micro - Samyang 14mm - 50mm 1.8D - Mb 10 - SB900 - SB400

  4. #4
    Member Kenneth67C's Avatar
    Join Date
    Oct 2010
    Location
    Shanghai, China, China
    Posts
    1,087

    Default Re: Border with Signature

    For borders, try pixlr.com, its free and they are quite creative.

    Signature you create separately as a pic, then copy and paste onto your pic as another layer. You can move it anyway you like. To resize, just "transform".
    An artist who realizes there is a supreme force and works gladly as an apprentice under heaven.

  5. #5
    Moderator catchlights's Avatar
    Join Date
    Sep 2004
    Location
    Punggol, Singapore
    Posts
    21,901

    Default Re: Border with Signature

    Quote Originally Posted by small pig View Post
    how to insert the jpeg signature to the layer and save it as action?
    you can save your signature as a custom brush, a doc, or just simple font type.
    Shoot to Live, Live to Shoot
    www.benjaminloo.com | iStock portfolio

  6. #6

    Default Re: Border with Signature

    Quote Originally Posted by small pig View Post
    Any idea what is the best way to add borders and signature (jpeg format) to a photo fast?
    I tried to use action in CS5, the borders can be done, but not the signature because the placement of the signature will run around for every different pic due to the pic size.
    Fastest way ? PS Scripting, choose your favorite scripting: VBS, JS, APPLESCRIPT.
    Paste the below into a file "addlogo.jsx"

    Use your photoshop and load it on your active image. Just a sample for you
    Learn how to script, you can do a lot more than just drawing text.
    You can essentially load your logo image, and position it based on your active document dimension.


    // Border Related
    var borderWidth = 40;
    var borderColor = new SolidColor;
    borderColor.rgb.red = 0;
    borderColor.rgb.green= 0;
    borderColor.rgb.blue = 0;


    // save old background color
    var oldBGColor = app.backgroundColor;
    // save old typeUnits
    var oldTypeUnits = app.preferences.typeUnits;


    app.preferences.typeUnits = TypeUnits.PIXELS;


    // check at least one document is available
    if (app.documents.length > 0) {
    // get active document
    var doc = app.activeDocument;


    // extend the size of the canvas
    app.backgroundColor = borderColor;
    doc.resizeCanvas(doc.width + 2 * borderWidth,
    doc.height + 2 * borderWidth,
    AnchorPosition.MIDDLECENTER);


    // add a new text layer
    var logotext = "This is my logo";
    var logotextSize = 20;
    var logoLayer = doc.artLayers.add();
    var logotextColor = new SolidColor;
    logotextColor.rgb.red = 255;
    logotextColor.rgb.green= 255;
    logotextColor.rgb.blue = 255;


    logoLayer.name = "Logo";
    logoLayer.kind = LayerKind.TEXT;
    logoLayer.textItem.contents = logotext;
    logoLayer.textItem.color = logotextColor;
    logoLayer.textItem.size = logotextSize;
    logoLayer.textItem.kind = TextType.PARAGRAPHTEXT;


    logoLayer.textItem.position = Array(
    doc.width - logoLayer.textItem.width,
    doc.height - borderWidth + (-1 * (borderWidth - logoLayer.textItem.height) / 2));
    }
    else {
    alert("Open a document to work on.");
    }


    // reset background color
    app.backgroundColor = oldBGColor;
    // reset typeUnits
    app.preferences.typeUnits = oldTypeUnits;
    Last edited by David Kwok; 23rd November 2011 at 04:17 AM.
    D3S|N70-200|N24-70|N24-85|N50f1.4|N35f2|SB800|SB900|Yashica GS|S95
    www.flickr.com/photos/davidktw

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •