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.
Thanks!