Graphic Design Stack Exchange is a question and answer site for Graphic Design professionals, students, and enthusiasts. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I am trying to crop an element in photoshop and I want to make sure it is perfect. I have a PSD that has many web elements that are grouped together nicely. I want to create a new image with the same size as the group of layers.

So basically I want to crop something out of the picture without losing or gaining pixels. I want an exact crop of the outer most item. Without using the crop tool and eyeballing it.

Usually I can use the rectangle tool and create a box around the item and go to edit>copy merged and then create a new image and it automatically has the merged layers size and then I paste.

My problem is for this group of layers is that it is not working properly and it is making the new image size the same size as the box and not the outermost layers.

Can anyone help me out?

share|improve this question
ermmm.... "I want to crop something out of the picture without losing or gaining pixels." makes no sense. The definition of crop is to remove pixels. Tried duplicating group to a new document then using Image > Trim > Transparent pixels? – Scott May 15 '13 at 20:39
What OP mean is that when you crop manually it's easy to cut something off on accident or have extra space remaining (that you didn't want) especially when dealing with "pixel perfect" cropping. – Johannes May 15 '13 at 20:46

I have a very simple method for this kind of work.

If your layers are aligned correctly in group, just convert this group to a smart object, open Smart Object and will have the pixel perfect margins.

share|improve this answer

I think the tool you're looking for is the Trim tool. as Scott mentioned in his comment, you would go to Image >> Trim >> Transparent Pixels. This will give you an exact crop.

This answer may be of use to you as well.

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

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