-2

I have 103 layers which i need to save as PNG files(each layer individually) but the problem I'm haiving is;the background layer (is to be saved with each layer) how can i do this ? Kindly guide me thanks

8
  • Not a real answer but sometimes I think the best way is to just do it. I usually calculate the time, let's say 20 seconds to save 1 layer. For 100 layers that would be about half an hour. You asked the question 1 hour ago, so you already wasted 2X time.
    – Komental
    Apr 30, 2021 at 17:38
  • 2
    What do you mean by 'guide' exactly? What have you tried, what didn't work? Apr 30, 2021 at 17:55
  • Hi Welcome to GDSE. Why did you create a document with 103 layered PNGs? If you had the images as individual PNGs, you could probably have done this with a simple Action, and then used File > Automate > Batch to apply it to each PNG.
    – Billy Kerr
    Apr 30, 2021 at 18:14
  • @sergey kritskiy. I tried running a script>export layers to file, but the layers kept on getting saved as PNG without the background layer Apr 30, 2021 at 19:33
  • @billy ker . Thanks for the greet . I created this document because its a t-shirt mock-up. I have a t-shirt placed as the base layer and the 103 layers are t-shirt designs which i have to save individually keeping the base layer attached. Apr 30, 2021 at 19:33

1 Answer 1

1

One way: use an action to quickly convert layer pairs to single layers. And then use Export > Layers to Files.

enter image description here

Setting up the layer-merging action

This action deletes layers once used, so only run it on a duplicate of your PSD.

Recording the action can be tricky, as selecting layers in the layers panel often creates layer-specific actions. To avoid recording layer-specific actions (MacOS shortcuts shown):

  • Merge visible: shift+command+E
  • Hide current layer: command+,
  • Select backward layer: option+[
  • Delete layer: delete
  • Move current layer: command+[
  • Select forward layer: option+]

The layer-merging action, along with the before and after just one run-through, is shown below.

enter image description here

Now you just need to run the layer-merging action 103 times. To make this bit easier, you can create another action that just runs the layer-merging action a set number of times.

enter image description here

Not the answer you're looking for? Browse other questions tagged or ask your own question.