In Photoshop CC, you can right click on a layer, and in the context menu, there will be an option, "Quick Export as PNG". This will make a PNG out of the current layer, but it has an issue: The new layer it makes will be the size of the document (way bigger then the image). Is there anyway to have Photoshop crop the new PNG to the exact size of the layer?

2 Answers 2


Well you could reopen the png and apply a trim on it.

You can aslo create following in a action:

  1. Make a new action, and record
  2. RMB on currently active layer, and choose Duplicate Layer...
    • Set the Destination field to new
  3. Apply Image → Trim... on new image
    • With transparent pixels setting
  4. Save your image
  5. Stop recording and make the save step have dialog on in the actions palette.
  6. (optional assign a hotkey to action)

Now you have a one click (or key) solution to a save dialog with a trimmed layer.


In Photoshop CS6, there is a Script in File Menu. I don't know whether it's included in CC or not. If it's there, then these steps can be followed...

  1. Go to File Menu => Scripts => Export Layers to File

  2. Select - File Type and Destination

  3. Check Mark - Transparency | Interlaced | Trim Layers

  4. And RUN

enter image description here

  • I think this will export all the layers, when I only want one. Aug 12, 2015 at 15:10

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

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