Welcome to the Treehouse Community
Want to collaborate on code errors? Have bugs you need feedback on? Looking for an extra set of eyes on your latest project? Get support with fellow developers, designers, and programmers of all backgrounds and skill levels here with the Treehouse Community! While you're at it, check out some resources Treehouse students have shared here.
Looking to learn something new?
Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and join thousands of Treehouse students and alumni in the community today.Start your free trial
Photoshop - cropping an image with a layer?
I have seen this very nice trick where you have layer "A" (for example an image) above layer "B" (rectangle, circle whatever), and you can use layer "B" kinda like a a cropping tool (move around the image, but still stay within the boundaries of layer "B".
Does anyone know how can I use this effect?
Steven Bister12,011 Points
I'm no Photoshop expert so there might be a better way of doing this; but from what it sounds like you're after, try this:
- Pick a shape to use for "layer B"
- Make sure "layer A" above "layer B"
- Right click on "layer A" in the Layers panel
- Click "Create Clipping Mask"
And that should do it. "Layer A" should now be inside whichever shape you chose to use as "layer B"