Layers to png with names in Photoshop


I am looking for a way to export all layers (nested too if possible) of a PSD file to png. But just the layer, with it's current size, not in the document size, with background or other layers.

I tried the script in this answer: Batch export Photoshop layers to individual PNG files

but it generates the png with background and the size of the document.

I need that if my file has buttons or small things, they export with the current layer size and name to png.


4/13/2017 12:46:00 PM

Accepted Answer

If you have Photoshop CC or CC 2014, you might be best off using the native Adobe Generator. In the future, it's going to have svg export too. Currently that's experimental feature.

  • Adobe Generator - Free ( Assuming that you have Photoshop CC or CC 2014 )

List of "asset" export plugins:

I'm not very fond of Adobe Generator because sometimes, even if you haven't enabled it and you save a .psd document that has extensions in the layer names, such as mylayer.jpg, it'll try to save the assets ...and they come out corrupted or something. It can be fully disabled through the preferences though, so it's not an issue when I'm using Slicy instead.

The only ones I have used and would recommend are: Adobe Generator, Slicy and Cut & Slice Me. Although I'm not the biggest fan of the way you mark layers with Cut & Slice Me.

9/23/2014 7:23:00 AM