Mobile app version of vmapp.org
Login or Join
Rambettina927

: Making PNG backgrounds black instead of transparent I'm working in Photoshop CS5. I have 800+ layers in a PSD file with transparency in them, and I want to export them all individually to JPG

@Rambettina927

Posted in: #AdobePhotoshop #Cs5 #Jpg #Png #Transparency

I'm working in Photoshop CS5.

I have 800+ layers in a PSD file with transparency in them, and I want to export them all individually to JPG (or PNG if possible) - I have this straightened out, but I want the background to be black, not white (black, not transparent for PNG).

Individually, I would create a background layer that is black and export the file as a JPG/PNG with a single layer + the background layer visible.

I can't do that for the amount of layers in this project.

Any ideas?

10.02% popularity Vote Up Vote Down


Login to follow query

More posts by @Rambettina927

2 Comments

Sorted by latest first Latest Oldest Best

 

@Lengel450

Mark Edwards has a great scripted solution for this, posted to another question.

An automated, easy solution


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).
Delete the exported file that's the background layer. I assume you won't be needing it :)
Copy the background layer to the clipboard.
Create an action that pastes and reorders the layers so the pasted layer is in the background.
Run the action on all the files you exported.

10% popularity Vote Up Vote Down


 

@Rambettina927

Figured out a good solution


Select layers
In Animation flyout menu click "Make Frames From Layers"
Select all animation frames
Click black background layer
File -> Export -> Render Video


Is there a faster way to save all layers in PSD to PNG?

10% popularity Vote Up Vote Down


Back to top | Use Dark Theme