Advertisement


exporting layers to files and applying the background image to all layers


Question

I have a file with about 80 layers that I want to export to png's. That bit I know how to do but what I'm stuck with is how to include the background layer with every layer being exported? Each layer is on a transparent background but I want them all to have a logo which I only have on the base layer. Am I making sense? Any help appreciated!

Thanks

2012/05/17
1
7
5/17/2012 1:05:00 PM

An automated, easy solution

  1. Use the File → Scripts → Export Layers to Files script. This will export each layer of your document as a separate file with a filename that matches the layer name (so ensure your layer names are correct before running the script). Make sure you use a lossless 24bit format, like PNG (with 8bit alpha).

  2. Delete the exported file that's the background layer. I assume you won't be needing it :)

  3. Copy the background layer to the clipboard.

  4. Create an action that pastes and reorders the layers so the pasted layer is in the background.

  5. Run the action on all the files you exported.

If you need more detail on any of the steps, please let me know.

2012/05/18
9
5/18/2012 1:05:00 PM