Skip to main content
Participant
December 15, 2021
Answered

Export all layers with adjustment layer

  • December 15, 2021
  • 3 replies
  • 7198 views

Hi there!
I want to export all the layers of a PSD file to individual PNGs with transparency, but I have an adjustment layer on my top layer that I want every layer to be exported with.
I named all the layers so I want to keep the layer's names on the exported PNGs.
For example: The adjustment layer is the top layer. Second layer named X. When I expord the layer X, I want it to be marged with the top adjustment layer but still keep the original name on the PNG.
I have few hundreds layers so I need an automatic action to execute that result.
Any Ideas? 
Thanks in advance!

Correct answer Stephen Marsh

I haven't had time to check, but the following may do it:

 

https://github.com/Paul-Riggott/PS-Scripts/blob/master/Layer%20Saver%20Plus.jsx

 

or

 

https://github.com/Paul-Riggott/PS-Scripts/blob/master/Layer%20Saver.jsx

 

Otherwise, a custom script would do the job for you.

 

EDIT: I have just tested and both scripts will include the top adjustment layer into the saved results of the lower layers.

3 replies

Participant
August 4, 2024
Stephen Marsh
Community Expert
Community Expert
August 4, 2024

@Darshan38985052ng5f 

 

Yes, that’s another great script in addition to the two that I previously posted.

Stephen Marsh
Community Expert
Stephen MarshCommunity ExpertCorrect answer
Community Expert
April 17, 2023

I haven't had time to check, but the following may do it:

 

https://github.com/Paul-Riggott/PS-Scripts/blob/master/Layer%20Saver%20Plus.jsx

 

or

 

https://github.com/Paul-Riggott/PS-Scripts/blob/master/Layer%20Saver.jsx

 

Otherwise, a custom script would do the job for you.

 

EDIT: I have just tested and both scripts will include the top adjustment layer into the saved results of the lower layers.

Participant
June 26, 2024

Just logged in to say you're a genius. Thanks for this! You just saved me soooooo much time

Myra Ferguson
Community Expert
Community Expert
December 15, 2021

Use Layer Comps (Window > Layer Comps) and export them.

 

Layer Comps can retain visibility, positioning, appearance (layer style), and the Layer Comp selection for Smart Objects. Here's how you would set it up:

  1. In the Layers panel, turn on the visibility for the adjustment layer and just one layer, and turn off the visibility for the other layers
  2. In the Layer Comps panel, click the Create New Layer Comp icon
  3. You can leave all of the options selected in the New Layer Comp dialog
  4. Repeat steps 1-3 for the same adjustment layer except change the layer that remains visible until you make a layer comp for each combo
  5. Go to File > Export > Layer Comps to Files

 

Participant
April 16, 2023

I created the layer comps, but at the end my correction layers didnt appear on the exported images 😞