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: Is there a way to copy layers from one Photoshop document to another?)