This script allows you to export layers in your Photoshop document as individual images at a speed much faster than the built-in script from Adobe. So far it does not feature all the formats that the built-in version does, but more can be added easily upon request. Feel free to contribute to it and make it even more powerful!
This script was originally built as a response to a question on graphicdesign.stackexchange.com.
Make sure to download all files:
- Supported export formats:
- PNG (8 and 24 bit)
- Targa
- JPEG
- Handles nesting in grouped layers.
- Export either all layers or visible only.
- Shows current progress and allows to cancel any time.
- Shows proper layer count in advance.
- Files are named either using layer names or automatic layer indices.
You can also see what's coming next and browse some of our performance test results.
Adobe Photoshop CS2 or higher.
- Open Photoshop
- File -> Scripts -> Browse...
- Locate the file, and open it.
Alternatively move the script into the /presets/scripts directory, located by in your Photoshop folder.
Windows: /Program Files/Adobe/Adobe Photoshop VERSION/Presets/Scripts/
Mac: /Applications/Adobe Photoshop VERSION/Presets/Scripts/
23 June 2014 by Skjorn
- Added progress bars with cancel buttons.
- Slow layer retrieval sped up and moved at the beginning.
- Dialog shows the correct layer count.
8 June 2014 by Skjorn
- Script renamed to match the built-in version.
- The dialog extended.
- Destination folder made selectable.
- Added an option to export only visible layers and fixed visibility toggling after export.
- The script made faster!
- The document doesn't have to be saved and be a layered PSD anymore. Exporting from a temporary working copy is fine.
- Major rewrite of internals.
22 May 2014 by Skjorn
- Added support for Targa (TGA).
2 December 2013 by Justin Wang
- Added support for both PNG-24 and PNG-8
24 May 2013 by Johannes Walter
- Nesting properly handled
- All layers save seperately again (no more stacking).
27 March 2013 by Robin Parmar (robin(at)robinparmar(dot)com)
- preferences stored in object
- auto-increment file names to prevent collisions
- properly handles layer groups
- header added
- code comments added
- main() now has error catcher
- counts number of layers
- many little code improvements
26 Sept 2012 by Johannes Walter
- Original version
Please use communication channels on GitHub to write feedback/bugs/suggestions: https://github.com/jwa107/Photoshop-Export-Layers-as-Images/issues