Photoshop: How can I commit adjustment layer to multiple layers while maintaining original layer names?

  • 1
  • Question
  • Updated 5 years ago
  • Answered
  • (Edited)
The title sounds complicated but this is what I want to do:
Use an adjustment layer to change the color of tens of layers. Then use Script -> Export layers as files -> Png, trimmed while keeping the original layer names.
Check image:

Problem is when I try to use the script, it ignores the adjustment layer and the exported images have their original color.

How can I colorize tens of layers in one swoop, non destructive if possible, and then use the export layers to files script?
Thank you
Photo of Doru Cristian Barin

Doru Cristian Barin

  • 15 Posts
  • 11 Reply Likes

Posted 5 years ago

  • 1
Photo of christoph pfaffenbichler

christoph pfaffenbichler, Champion

  • 1199 Posts
  • 159 Reply Likes
First off: compliments on posting a screenshot to illustrate the issue.

When you want export Layers as individual files with a (Adjustment) Layer combined that, I’m afraid, will require a different Script; there probably are existing ones that could be adapted to your needs, maybe you should ask around over at:
http://forums.adobe.com/community/pho...
or
http://ps-scripts.com/bb/
Photo of Jeffrey Tranberry

Jeffrey Tranberry, Sr. Product Manager, Digital Imaging

  • 13977 Posts
  • 1671 Reply Likes
You could do it in two passes. Choose Script -> Export layers as files -> PSD, then do a batch on the PSD to save them as PNG.

Otherwise, as Christoph suggests, you could modify the existing Export Layers script or create a new script do do what you want.
Photo of Doru Cristian Barin

Doru Cristian Barin

  • 15 Posts
  • 11 Reply Likes
@Jeffrey, but wouldn't that mean I would have tens of PSDs and then I should open them all up to use the script?

Regarding my issue I did find a script that helps me. It's not fully automatic, but I basically copy the adjustment layer to each layer, then select all the standard layers (so no adjustment layers) then use the script to export all layers including the top layer (this is the best option in this script).

Only works outside of a folder. It basically merges the selected layer with the layer that's on top but keeps the original name, not even a prefix. This will have to do for now...
Photo of Paul Riggott

Paul Riggott

  • 346 Posts
  • 132 Reply Likes
Photo of Doru Cristian Barin

Doru Cristian Barin

  • 15 Posts
  • 11 Reply Likes
Thanks, that's what I used.