Mobile app version of vmapp.org
Login or Join
Pierce403

: Is there a faster way to save all layers in PSD to PNG? I'm trying to export all 155 raster layers, each 240*240 in pixels, to separate png files, but it takes ages to do that using CS5

@Pierce403

Posted in: #AdobePhotoshop #Export #Png

I'm trying to export all 155 raster layers, each 240*240 in pixels, to separate png files, but it takes ages to do that using CS5 File > Scripts > Export Layers to Files.

This script creates new psd files, copies all layers to them, then makes one layer visible before deleting all the layers he has just added. It took about three hours to export half of my layers.

If I was a script coder i'd make exporting this way:

for each layer do {
make layer invisible }

for each layer do {
make layer visible
save file as "layer_name.png"
make layer invisible }


Is there any faster way to export all layers to png?

10.05% popularity Vote Up Vote Down


Login to follow query

More posts by @Pierce403

5 Comments

Sorted by latest first Latest Oldest Best

 

@Reiling762

Just in case anyone gets to this question through Google or wherever, I wanted to let you know that if the built in solution is too slow, I wrote my own script to export layers to either JPGs or PNGs that it much faster than the built-in script.

That answer can be found here.

The script can be found here.

But basically it does a minimal amount of work to export layers, rather than the long and complex process Photoshop takes, therefore being much faster.

10% popularity Vote Up Vote Down


 

@Phylliss782

MacGyver Solution:

Make a copy/backup from file Export Layers to Files.jsx, available on your Photoshop CS6 instalation folder (C:Program Files (x86)AdobeAdobe Photoshop CS6PresetsScripts).

Edit the file (using notepad or whatever...) and comment/change line 940 (or use the find text tool):

obj.artLayers[i].remove();


to:

//obj.artLayers[i].remove();


Save file and use it on Photoshop. File > Scripts > Open File/Load script
This worked great for me. Much faster.

10% popularity Vote Up Vote Down


 

@Carla748

You can try MacRabbit's Slicy App if you are working on OS X. It's really easy to use for slicing process for web development.

10% popularity Vote Up Vote Down


 

@LarsenBagley460

I dont think so that there is any easy and fast way of doing so ,as alan said try that animation ,render video thing,

i would suggest you to use scripts only because they are easy to work on instead of other methods.

if you need some sort of script see this:


Saving your layers as separate documents example in site
Export Layers to Files (Fast PNG version)




there are some similar question on this site already asked please take a look :


Export photoshop layers to individual PNG files - batch process???
Export Layers to Files exports only 4 png files from 100 layers

10% popularity Vote Up Vote Down


 

@Jennifer810

In the animation panel flyout menu, choose "Make frames from layers."

File > Export > Render Video. Choose a folder for the export and select "Image Sequence" and "PNG".

10% popularity Vote Up Vote Down


Back to top | Use Dark Theme