In this quick Photoshop tutorial, we’ll learn how to export Photoshop layers to files. By using a built-in Photoshop script we can spend up our work and save quickly layers to individual files like Png, Jpg, Psd, and other file types.
You can use this technique to save icon sets or other Photoshop documents with a high number of layers. To save layers even faster than the built-in script from Adobe, a custom script is the right tool.
Step 1 > Open the Photoshop Document (Psd)
First, open the document you want in Photoshop. Check the layers you want to save.
Step 2 > Open the Script
Go to File > Scripts > Export Layers to Files to open the script window.
Step 3 > Script Settings
In this tab, we have to choose the file name prefix, file type, and other options. The destination must point to the folder we want to save the new files. The built-in script support Bmp, Jpeg, Pdf, Psd, Targa, Tiff, and Png file types.
Depends on the file we choose, we have extra options. For Png files, we can set on/off the transparency. Check/uncheck “Trim Layers” if we want Photoshop to crop the image around the layer edges or keep the size of the original document (PSD). Next press “Run” to complete the process.
For large files with a high number of layers, the built-in script seems slow. To speed much faster the saving time than the built-in script we can download and install a custom script. Check this custom script by Skjorn on GitHub and follow the instructions to install it.
For Microsoft Windows just copy the script file under /Program Files/Adobe/Adobe Photoshop*/Presets/Scripts/
Now we can quickly save multiple layers to individual files. We can speed up the workflow and spend our time on more important tasks.