I am a web dev and competent in Fireworks, but not so much in Photoshop.
I have just received a layered PSD file to turn into a web page. Can anyone tell me the easiest way to export all layers to individual png files?
There are lots of layers and doing this manually seems wrong.
I have seen this but it does seem there should be native functionality for this in PS.
I have access to Photoshop CS4. Any pointers appreciated.
File >> Scripts >> Export layers to files...
Here are some related questions...
I spent some time and wrote my own script file to automate this process. This process is much faster than the built-in script mentioned above.
I ran this script on a 100 layer, 450MB file in under 60 seconds. Running the built-in script on the same file takes me about 30 minutes.
When testing with nest layer groups, I found that my script runs in about 90 seconds whereas the built-in script takes about 27 minutes (and actually exports it wrong).
Please note that these results will vary depending on the complexities of the files as well as the hardware on your computer and the version of Photoshop. Additional performance data.
Please read through the read-me for any additional, additional information.
Disclaimer: This script is not associated with Adobe in any way. Please use script at your own risk -- always make a back-up of your PSD before using. I am not responsible for any damaged or lost data.