8

I wanted save some layers as PNG files and I had opened a new window for every .png file and pasted in there and sometimes crop it.

Is there a way to export just a few or one selected layer and not the whole file much more easily, or maybe only save the visible part as a PNG?

8

Choose File > Scripts > Export Layers To Files

Select the Visible Layers Only option if you want to export only those layers that have visibility enabled in the Layers panel.

Photoshop Screenshot of Scripts Menu

Source

5

If you use Photoshop CC you don't need any script.

You can activate the built-in function "Generator" (File > Generator). This function allow you to export layers and groups when you save the document. Simply rename your layers/group with the extension you need (like nav.png) and eventually the parameters.

With this method photoshop will export for you the named layers/group visible with associate layer style in the same directory of your file.

See adobe article: http://blogs.adobe.com/photoshopdotcom/2013/09/introducing-adobe-generator-for-photoshop-cc.html

  • 1
    This is truely awesome! You will be saving hundreds of hours of tedious copy/paste/safe! – Madmenyo Jan 16 '18 at 11:32
2

Skaught's solution works. There are two other options that come to mind.

  1. Convert your objects (layers or groups) to smart objects then double click the SO in the layers panel to open a separate, exportable doc.
  2. Use slices to delineate and set export prefs for your various objects. You can export by selected slices.
1

In CC 2014, you can use the new feature File>Extract assets that will offer a dialog with all the visible layers and plethora of options (resolutions, prefixes, etc) for extraction. Meant for web-developers this feature helped me out a lot. Too bad it's not available in other versions of PS.

From what I understand the feature is still under development and the pesky ".png" in the layer names will be removed, but for the time being watch out for the layer names.

  • i love adobe extract in brackets ...Best thing that ever happen to CSS and web design. – Muhammad Umer May 25 '15 at 13:45
0

If you're planning to select specific layers (or group of layers) then

  1. Use Marquee Tool 'M' to draw the bounding box.
  2. Use Edit >> Copy Merged to copy the specific content to new file (png, psd, ...)
0

Here's what I found. Single-click layer exporting!
http://viget.com/inspire/single-click-layer-exporting-in-photoshop#the-best-way

Direct link to Photoshop action:
https://viget.com/uploads/file/generic/Inspire.atn.zip

  • Really Works! I've downloaded Action and pressed F12. AndShift + F12 for Layer to new file. – Sergey Senkov Nov 14 '15 at 17:48
  • @SergeySenkov, yeah, this is my #1 plugin/action for PS :) – artnikpro Nov 16 '15 at 15:31

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.