Mobile app version of vmapp.org
Login or Join
Holmes874

: How do you create a new document from a layer group that's also the size of the group? I'd like to create a new document from a group of layers. It should be the same size as the largest

@Holmes874

Posted in: #AdobePhotoshop #Layers

I'd like to create a new document from a group of layers. It should be the same size as the largest layer in the group, even if the current document is a lot bigger.

For example, I have a web page layout and I just want to isolate a button image that's made of several layers (which are grouped in this case, but I guess they don't need to be) and make a new document with just the button layers in it, and it should be the size of the button.

Is there an easy way to do this?

It seems like making it into a smart object and then duplicating it in a new document is one way to go, but it makes a document the full size of the original, not the size of the object.

(Note: I have seen this thread, but it doesn't answer this question: How to copy layers from one Photoshop document to another?)

10.01% popularity Vote Up Vote Down


Login to follow query

More posts by @Holmes874

1 Comments

Sorted by latest first Latest Oldest Best

 

@BetL875

The simple way to do this (Photoshop CS5/5.1) is:

Step 1: In the Layers panel, Ctl(Cmd)-click on the thumbnail of a raster or shape layer that is the full size of your button. That gives you a selection that is the exact size (and position) you want.

Step 2: Edit > Copy or use Ctl-C.

Step 3: File > New or Ctl-N, and click OK. You now have a new document that is the exact size of your layer.

Step 4: Switch back to the original document and target the layer group in the Layers panel.

Step 5: Using the move tool, drag from the document (not the Layers panel) to the tab for your new, empty document. The focus will switch automatically to the new document.

Step 6: Hold down the Shift key, move the cursor onto the new canvas, and let go the mouse button.

All of your layers will import intact. You can then delete the background layer.

NOTE 1: In the case where you have effects applied, such as drop shadows, outer glows, etc., first convert the effects to layers. (In the Layers panel, right click on the word "Effects" under the layer name, and choose "Create Layers" from the menu.) Do this first, so your new document will have the dimensions to include the whole of the glow or drop shadow.

NOTE 2: Use "COPY" or "COPY MERGED" in Step 5 if you want a flattened image in the new document. To bring in the selected layers intact, deselect, then drag from the image window (NOT the layers panel) up to the new document's tab. When the focus switches, drop inside the new canvas while holding down Shift.

If you're using CS4 or earlier, follow steps 1-3, then copy and paste the layers one at a time.

10% popularity Vote Up Vote Down


Back to top | Use Dark Theme