Skip to main content
Participant
April 1, 2014
Question

New script for exporting layers to files with background

  • April 1, 2014
  • 1 reply
  • 398 views

I was creating an animation for some software I'm developing and had a file with about 20 layers that I needed to export as individual BMP files. I found the Export Layers to Files script but it didn't quite do what I wanted. See my layers are transparent and I needed to add a specific color to the background for colorkeying in the animation control I'm using in my app. So I found the Export Layers to File script and modified it to include a check box that will merge each layer with the background layer before exporting. This allowed me to set the background color to the color I needed.

Anyway I thought this might be helpful to others so here is is....

https://dl.dropboxusercontent.com/u/23723446/ELTFWB.zip

Maybe Adobe will even consider adding this functionality to a future version of the script included with the product. (this was done in CS6, so maybe they already have in one of the newer CC versions?)

Note: This requires a real background layer to function. If your file does not have one you can create one by selecting the layer you want as the background and clicking Layer->New->Background from layer

This topic has been closed for replies.

1 reply

Adam_Bobski
Participant
April 1, 2014

Nice