We offer vinyl decals for many devices. To show what a design looks like on a device, we have to create a main layer of the device, having the place of where the skin would fit cut out for our background layer images to slide behind.
We have 2,000+ designs to offer for each device, so this takes time. After we line up all the backgrounds as individual layers behind the main device window, we then have to save out each layer as its own png. This is a very time consuming process. Here’s a test example of a few designs.
Each background layer is titled corresponding to what the design is called. For example: The top layer here is called “Blue Vector Fish and Boat Pattern”. How we do this now is we double click the layer title, so it allows us to “copy” the title (instead of typing it in).
then we bring up a “save as” window and you will see our PSD file is currently save as “The (layer name) Skin for the Beats by Dre Solo 2 Headphones”,
so we will then need to put our layer title into the spot that currently says “(layer name):
Then change the save type to PNG or JPEG.
We then save out that design, delete the layer we just saved and duplicate our actions for the next layer in this case would be “Seamless Vector Gold Fish”.
Is there a way to create a custom script to automatically perform these repetitive actions? I am obviously doing the same thing over and over again. I would appreciate any help! We usually set up batches of 500 and save them out manually and it is brutal. Please contact me if you have any suggestions. Thanks!
File → Scripts → Export Layers to Files
Or in newer versions of Photoshop:
File → Export → Export Layers to Files
Source : Link , Question Author : kyle buckner , Answer Author : Cai