How to delete part of shape in Photoshop?
I have two shapes on two different layers. I want to crop the only the part of image only according to the shape on layer 1. I want to keep part of shape on layer 2 which is in the layer1 shape area and want to remove all area outside the shape1.
Please see the following image for better understanding:
Ctrl + Click the thumbnail of Layer 2
Ctrl + Shift + Alt + Click the thumbnail of Layer 1. This will give you the
intersection of the 2 shapes.
Voila! You'll have a selection of the shape you want.
If you are trying to keep your shapes intact, then still do the above, but then do the following:
- Right-Click the selection created in Step 2
- Go to Make Work Path...
- Set the
Toleranceto something low like
Now you'll have a new Path from the selection and your shapes will remain intact.
I will piggyback off ckpepper02's answer but I will use shapes with vector masks instead of rasterized shapes. I will also use layer masks to be non-destructive.
Let's say you have this image here:
Your layers would look like this:
CTRL-Click the top layer's vector mask.
CTRL-ALT-SHIFT-Click the bottom layer's vector mask.
That will select the intersection of the two layers.
Now select the top layer, and click
Add layer mask at the bottom of the layer's panel.
Here's the final result:
The added benefit of the layer mask means we do not have to destroy any data. We can, at any time, get back to full shape, or adjust it further if we'd like. If you're unfamiliar with layer masks, I'd suggest you read this quick article to get a better idea.
Also, with this technique we can keep our vector masks as well and we don't need to rasterize our layers.