Home Technical Talk

Photoshop action that stacks layers

polycounter lvl 15
Offline / Send Message
CodeFather polycounter lvl 15
Hi,Guys, I've did this action for Photoshop for stacking layers on top of each other,
and thought that someone might find it useful here at polycount...
Here http://vimeo.com/13713886 is a demo how it works, basically it aligns one
layer to another regardless of their position and size (it doesn't work with rotation differences, tough).
CS2 and above, if someone like it I'll be glad to share it. :)

Replies

  • r_fletch_r
    Offline / Send Message
    r_fletch_r polycounter lvl 9
    WOW THANKS Looks usefull
  • Eric Chadwick
    Is that a Smart Object? Pretty cool action.
  • CodeFather
    Offline / Send Message
    CodeFather polycounter lvl 15
    Is that a Smart Object? Pretty cool action.

    It works with any image format which supports transperancy(gif,tif,png) and converts it into a smart object before applying the transformations.

    The procedure is as fallows: always open first the document you wish to move and match with the second one.The second document should contain a target layer which should be named "UVdummy" in order the action to work.This is required, because the action searches for a layer called this way using a simple jsx script.This way the layer order in your document doesn't matter.

    I have a version of the same action where there is no need to name the layer, but it relies on layer position (the target layer should be always the top most layer).

    I'm glad you find it useful, I'll upload it somewhere when I get back home.
  • CodeFather
    Offline / Send Message
    CodeFather polycounter lvl 15
    Download it from here:
    http://dox.bg/files/dw?a=f67280b1a4

    INSTALLATION:
    Copy "Find Layer UVdummy.jsx" in your Photoshop root directory/Presets/Scripts before running the action.
    Feel free to edit the script(at least you can change the name of the target layer, just change "UVdummy"
    to something more meaningful to you).

    *note: Photoshop CS2 and CS3 calls scripts with their absolute path, so all you need to make the action work is to record again just the steps in the action where the script is called.


    I'm working on a variant of this action that will allow to update multiple files at once.
  • CodeFather
    Offline / Send Message
    CodeFather polycounter lvl 15
    I've updated the action, it no longer requires specific layer names or layer position.
    Also works with Layer sets and nested layer sets. In order to execute properly you
    should only color-code your target layer.Something like this:
    (you can choose any color)
    adobeForum01.jpg


    DOWNLOAD from here:
    www.vertexbee.com/public_files/Stack Layers_v1.3.rar

    INSTALATION:
    Copy "findLayerByColorCS2.jsx" in your Photoshop root directory/Presets/Scripts
    Load "CF_Stack Layers_v1.3.atn" in your action palette.

    Note: Scripts within actions are referenced by their absolute path (i.e., the complete path to the script on the local computer).
    This means that you must install the script in the same location on your machine in order for the action to work correctly.
    Alternatively, you could just re-record or re-insert the script into the action.

    so far I've tested it only on CS2, but if any problems occur it should be easy to make it work for higher version.
Sign In or Register to comment.