25
\$\begingroup\$

Is it possible to crop a single layer, I can almost get the desired outcome using the eraser on a layer but surely it can be done with cropping?

\$\endgroup\$
4
  • \$\begingroup\$ Cropping? do you mean without changing the image/canvas size? \$\endgroup\$
    – Omne
    Dec 30, 2012 at 20:37
  • 2
    \$\begingroup\$ Are you trying to accomplish something photography related? This might be better on graphicdesign.stackexchange.com. \$\endgroup\$
    – mattdm
    Dec 30, 2012 at 20:39
  • \$\begingroup\$ Agree. For example this: graphicdesign.stackexchange.com/questions/7011/… \$\endgroup\$
    – MikeW
    Dec 31, 2012 at 6:03
  • \$\begingroup\$ It just doesn't make any sense why you'd want to crop a layer and make your entire composition follow that resolution...one of the most annoying things about photoshop IMO \$\endgroup\$
    – user20868
    Jul 5, 2013 at 5:38

12 Answers 12

19
\$\begingroup\$

Use a layer mask. Tutorials galore exist on the topic already, eg: http://helpx.adobe.com/photoshop/using/masking-layers.html

Straight from Adobe:

You can add a mask to a layer and use the mask to hide portions of the layer and reveal the layers below. Masking layers is a valuable compositing technique for combining multiple photos into a single image or for making local color and tonal corrections.

\$\endgroup\$
0
31
\$\begingroup\$

I can't believe no one suggested this yet:

Just use the rectangular marquee to select what you want to crop down to, and COPY it to your clipboard. Then delete the entire layer and PASTE what you copied to a new layer.

This is especially useful if the layer you're cropping is larger than the canvas, in which case the select-inverse technique is messy.

\$\endgroup\$
4
  • 5
    \$\begingroup\$ Alternatively, you Select with marquee and press CTRL+J. Ps Will create a copy of the layer including ONLY the selected pixels. You can then hide or delete the original layer. \$\endgroup\$
    – Jahaziel
    Jul 13, 2015 at 16:33
  • 1
    \$\begingroup\$ Fantastic solution \$\endgroup\$
    – qwr
    Apr 20, 2016 at 21:09
  • \$\begingroup\$ This is great when you want to do a Free Transform and get the handles on the cropped edges. \$\endgroup\$
    – Laurent
    Dec 25, 2016 at 17:26
  • \$\begingroup\$ I can't believe they stopped supporting CTR+X for this operation, I thought they scrapped all the hotkeys because of that and that's how I ended up here today :D would've saved a click for each of us for every crop ... that's a lot! \$\endgroup\$ May 12, 2020 at 0:44
14
\$\begingroup\$

You can also select the area you want to crop to with the rectangular marquee tool, invert your selection, then delete the now selected outside area. This is different from the layer mask in that it completely deletes the surrounding area, whereas the mask makes the surrounding area invisible.

\$\endgroup\$
1
  • \$\begingroup\$ From top menu - Select -> Inverse or just Shift + Ctrl + I (from CS5). Thanks for answer, exactly what I needed. \$\endgroup\$
    – Jarrod
    Sep 21, 2015 at 20:02
3
\$\begingroup\$

You'd most likely want to use one of the marquee tools. This will select an area in a crop like fashion and you can then delete the inside or the outside by right clicking and selecting 'select inverse'.

and that is how i crop inside one layer :)

\$\endgroup\$
2
\$\begingroup\$

No, you can't crop a single layer.

The closest thing would be to copy the layer to a new image, crop that image, and copy the layer back to the original image.

It's easier just to erase or mask the part of the layer that you don't want.

\$\endgroup\$
3
  • 2
    \$\begingroup\$ Huh, interesting. You can in Gimp. \$\endgroup\$
    – mattdm
    Dec 31, 2012 at 5:00
  • \$\begingroup\$ -1, You can't use the crop tool, but you sure can crop a single layer. \$\endgroup\$ Dec 31, 2012 at 5:44
  • 1
    \$\begingroup\$ @whatsisname: Then you don't crop. \$\endgroup\$
    – Guffa
    Dec 31, 2012 at 14:14
0
\$\begingroup\$

Just resize the layer using the transform tool. If you make the layer a smart object first, then you'll have the option to revert back to the original image size should you wish, without data loss.

\$\endgroup\$
1
  • 3
    \$\begingroup\$ resizing the layer is not going to do you any good if it makes that layer out of scale with stuff in the other layers. \$\endgroup\$ Jan 3, 2013 at 2:56
0
\$\begingroup\$

If you want to be able to change the size or shape of your crop you can also just make shape in a seperate layer and clip your image with a clipping mask on your shape. If you group the two after that you can move them as one. If you do this you're still able to change to shape of your crop afterwards.

\$\endgroup\$
0
\$\begingroup\$

You can also always just apply a layer mask you made by right clicking the layer and selecting "apply layer mask".

\$\endgroup\$
0
\$\begingroup\$

If you convert the layer in question to a smart object then edit the smart object, you can crop the layer. When you save and close the smart object and revert back to the original stack of layers, the cropped layer is smaller and can be moved around in the larger image. Here is how I did it, although there may be shortcuts: (1) Left click on the layer to be cropped and select "convert to smart object" (2) Once the conversion is complete double-click on the layer icon to open the smart object (3) Crop the image as desired (4) Save and close the cropped layer, which returns you to the original layer stack. The cropped layer can now be moved around as needed. If more edits are needed on the layer, you will have to reopen it as a smart object. By telling PS not to delete the cropped pixels, I was also able to reopen the smart object and change the crop in a later edit.

\$\endgroup\$
-1
\$\begingroup\$

enter image description here

A very easy trick: just crop it in another tab and move it back (screenshot here).

\$\endgroup\$
-2
\$\begingroup\$

convert the layer you want to protect to a smart object, problem solved.

\$\endgroup\$
-3
\$\begingroup\$

Select the area > fill..> background

\$\endgroup\$
1
  • 1
    \$\begingroup\$ Can you elaborate a bit? Select the area you want to keep or exclude? On which layer? Background: you mean the background layer or background color? \$\endgroup\$
    – MikeW
    Nov 8, 2017 at 18:22

Your Answer

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

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