navigate site menu

Start learning with our library of video tutorials taught by experts. Get started

Design the Web: Clipping Masks

Design the Web: Clipping Masks

with Chris Converse

 


In this course, author Chris Converse shows you how to use clipping masks to create interesting web design effects in Adobe Photoshop, while leaving the original images unharmed. Learn how to clip photography behind type, create a custom clipping shape with the Paint and Erase tools, create silhouetted images, and limit layer adjustments to specific layers.

This course was created and produced by Chris Converse, and lynda.com is honored to host this content in our library.

show more

author
Chris Converse
subject
Design, Web, Web Graphics, Interaction Design, Web Design
software
Photoshop CS5, CS6
level
Beginner
duration
17m 29s
released
Jan 25, 2013

Share this course

Ready to join? get started


Keep up with news, tips, and latest courses.

submit Course details submit clicked more info

Please wait...

Search the closed captioning text for this course by entering the keyword you’d like to search, or browse the closed captioning text by selecting the chapter name below and choosing the video title you’d like to review.



Introduction
Introduction to clipping masks in Photoshop
00:00(music playing)
00:04Hi! I'm Chris Converse,
00:05and in this lesson, we're going to take a look at how we can use clipping masks inside
00:08of Photoshop to create nondestructive design effects for our composition.
00:12We'll clip photography into live text layers.
00:15We'll apply effects onto the text layer, which will then be applied after the photography
00:20has been clipped in.
00:21And we're even going to look at alternate ways to create silhouetted photography, by
00:24combining the Eraser tool and the Paintbrush tool along with clipping mask shapes.
00:30And finally, we'll take a look at how we can add layer adjustments into clipping groups
00:33as well, so that we can adjust only parts of our composition, not the entire canvas.
00:37So, I hope this sounds interesting, and if so, let's get started.
Collapse this transcript
About the exercise files
00:00Now, if you're a Premium subscriber to the lynda.com online training library, you'll
00:03have access to the exercise files.
00:06Inside of the exercise files, we have a myDesign.psd--
00:09this is the composition file that we're going to be building our layout in--and then a Photos
00:12folder, which contains three JPEGs.
00:14We're going to be using these individual JPEGs to clip into custom shapes and text layers
00:18inside of our composition file.
00:19And now that we're familiar with the exercise files, next, we'll start working inside of the myDesign.psd file.
00:24
Collapse this transcript
1. Working with Clipping Masks
Clipping a layer into a text layer
00:00Now, to begin our lesson, let's go to the exercise files.
00:02Let's open up myDesign.psd.
00:03Now, if you don't have access to the exercise files, you can create your own Photoshop file
00:09from scratch and follow along.
00:10So here, we have a Photoshop file with a text layer.
00:14This one here says San Francisco at the top, a second text layer with just some dummy text.
00:19We have a folder of highlights that just highlight a couple of the tiles on the background, and
00:23then a background layer.
00:25So, now let's come back to the exercise files.
00:28Let's open up bay_area_panoramic, or again, you can open up any other JPEG file that's
00:32the width of your text.
00:33Now, from this file here, let's come over to the Layers panel.
00:37Let's drag the layer into the myDesign.psd.
00:39Now that that's in place, let's come back here and close the original file.
00:46Back in our composition file, I am going to double-click Layer 1.
00:49We'll just rename this panoramic.
00:53And what I want to do here is only have the photograph show inside of the text.
00:57So, what we're going to do with the Panoramic layer selected, and having it right above the
01:01San Francisco text layer, let's come up to the Layers panel, come down and choose Create Clipping Mask.
01:08What that's going to do is take all of the positive pixels on the San Francisco layer
01:12and only show the artwork in the layer above, that's clipped in.
01:15Now, if I switch to my Move tool and move the photograph around, you can see we can
01:20move this inside of here.
01:22We're not destroying or making any changes to the pixels on the panoramic layer.
01:27They're only showing on the canvas when they intersect with the positive pixels in the
01:30text layer underneath.
01:31Now, there are two additional ways we can assign a clipping layer.
01:34I'm going to undo this clipping layer.
01:36The first one is, if you get your cursor between the two layers, hold the Option key.
01:40You'll see the icon change into this little square with the down arrow selected.
01:45If we click on this, that will also create a clipping layer.
01:47Then clicking it again will remove the clipping layer.
01:50The other option is we can use a keyboard shortcut.
01:52On the Mac we can do Command+Option+G, or on the Windows computer we can do Ctrl+Option+G.,
01:58and this will act as a toggle.
01:59So, each time you select that key command, it will either create the clipping group
02:03or release the clipping group.
02:04Now, another nice effect that we have with clipping groups is if we add effects onto
02:09the base layer, the effects will add on to the layer above that's being clipped in.
02:14So, to demonstrate this, let's come down and select the San Francisco text layer.
02:18At the bottom of the Layers panel, let's come down and activate some effects.
02:21Let's first come up and choose Stroke.
02:26And move this over, so we can see the canvas in the background.
02:29So, for the Size, let's come down here and pick 2 pixels.
02:33Let's choose Outside for the Position.
02:36And under Color, let's select our swatch, and let's come up here and choose White.
02:40Now, with our Layer Styles still open, let's come down and activate Inner Shadow.
02:47Let's leave the Blend Mode on Multiply.
02:49Let's come in here and change the color from black to, let's come up and select a blue
02:55color. Make that a little bit darker. We'll choose OK.
02:59And what you'll notice here is the Inner Shadow is showing up on top of the panoramic layer.
03:04So, what the clipping group does is it takes the artwork from the layer above, puts it
03:09underneath the effects.
03:10So, Our Inner Shadow, which is on a text layer under the panoramic, is showing up on top of
03:15the pixels from the panoramic layer.
03:18Let's change a few more properties here.
03:20Let's come down and change the Opacity to 50%.
03:24We're going to leave 90 degrees and Global Light.
03:27Down here for Distance, let's come down and change this to 10 pixels, 0 on the Choke,
03:32and we'll set the Size to 8 pixels.
03:34Lastly, let's come down to Drop Shadow.
03:37Let's activate the drop shadow.
03:38We'll leave the color black.
03:39We're going to set the Opacity to 60%.
03:44Let's tab down, 5 pixels on Distance, 0 on the Spread, and we'll leave the Size at 5 pixels as well.
03:50Now, we'll click OK.
03:51So, now we have that panoramic photo clip grouped into a text layer that has a series of effects,
03:57and the effects, again, are being applied as if the panoramic layer was actually part of the text layer.
04:03So, the Inner Shadow, Stroke, and Drop Shadow are being applied after the panoramic layer
04:08is being clipped into San Francisco text layer.
04:10Now, another nice effect here is that we can come in here and change the text since it's
04:14still live text, and all of the effects and the clipping layers will still be applied
04:18as we make text changes to that text layer.
04:20So, now that we have a photo clipped into text, next we'll look at clipping photos into shapes.
04:24
Collapse this transcript
Clipping a layer into a basic shape
00:00Now, another way clipping layers can really help you with your layout is if you want to
00:04have a specific size for your photography that fits within a layout or a grid.
00:08So, what I'm going to do here is switch over to the Marquee Selection tool.
00:11I'm going to come down, select the Highlights layer.
00:14We're going to create a new layer inside of our Layers panel.
00:20We'll call this photo clip. Hit Return.
00:22Now, with our Marquee tool selected, let's come in here and make a selection.
00:26I want to select an area that I want to have a photograph inside of.
00:30So, I'm going to get that kind of close.
00:33Once we have that in place, I'm going to hit Option+Delete to fill with the foreground color.
00:37I'm going to move this around.
00:40Now, I'm going to zoom up here to make sure that the shape that I created is exactly inside
00:45of these tiles in the background.
00:46I'm going to use my Move tool, spacebar for the Hand tool, move around to make sure that
00:51this matches up right in the corner.
00:55Let's move down here. I see I want to make this a little bit taller here.
00:57I'm going to get my Marquee Selection tool, draw the selection, hold Command+Option or
01:03Ctrl+Option on Windows, then hit the down arrow.
01:06Just add a few more pixels.
01:09And I see I also want to have this be a little more to the left here.
01:12So, I'm going to marquee- select this entire shape.
01:15Just hold the Command key or the Ctrl on Windows and just move this back.
01:20So, now I have a shape that fits perfectly within the background shape that I have.
01:25Now with that in place, let's come back out to the exercise files.
01:28Let's open up ferry_building.png, grab the layer, drag this into our composition, come
01:35back and close the original file.
01:36Now, I'll get my Move tool.
01:39I'll move the photograph so it's right on top of the photo clip layer.
01:43I'm going to hold the Option key, click between the layers, and clip in the photograph inside
01:47of the photo clip layer.
01:49I'm going to rename that layer Ferry Building.
01:51Now, with the Move tool, I can move this around, or use my arrow keys and get the exact position
01:57of that photograph inside of that shape.
01:59Now, the next thing I want to do is share some of those effects that we assigned to the text layer.
02:04So, let's come over here to the Layers panel.
02:05I'm going to hold the Option key, or Alt in Windows, click on Stroke, and I'm going to click and drag.
02:12Notice I get a double icon, just like we would see in tools like InDesign and Illustrator.
02:17And this indicates we're going to drag a copy of the Stroke settings.
02:19And let's drag this and drop it on top of the photo clip layer.
02:23Once I let go, the same Stroke settings are going to be applied to this shape.
02:28Now, the only difference I want to make here is I want the stroke to be on the inside instead of on the outside.
02:33So, let's come down here, double-click the Stroke effect on the photo clip layer, change Outside to Inside.
02:39That will keep the nice crisp shape. Let's click OK.
02:43I also would like to share the Inner Shadow.
02:46So, let's come over here to Inner Shadow, hold the Option or Alt key, click and drag
02:50a copy down to the photo clip layer.
02:53Now, we can see the effect being applied on top of the Ferry Building photo.
02:57Again, even though the Photo Clip layer is underneath, the effect is being applied after the clipping
03:02of the Ferry Building.
03:04Now that we've clipped the photograph into a basic shape, next, we'll take a look at
03:07how we can use clipping masks in conjunction with layer adjustments.
Collapse this transcript
Clipping layer adjustments into a layer
00:00Now, we're going to create one more clipping mask on the right side of our canvas.
00:03Let's come down and select the Highlights folder.
00:06Let's create a new layer.
00:10Let's call this Mosaic Clip.
00:14Let's come up to our Marquee tool.
00:15Let's click and hold.
00:16Come over here and select the Elliptical Marquee tool.
00:19Come over on the right-hand side.
00:21I'm going to hold the Option key or the Alt on Windows, and then the Shift key and click and drag
00:26to conform this to a circle that spans out from the center.
00:31Let go. Let's move this into place. Option+Delete to fill with the foreground color or Alt+Delete in Windows.
00:38Next, I will hit Command or Ctrl D to deselect the circle.
00:42Let's come back to the exercise files.
00:43Let's open up mosaic.jpg.
00:44Let's grab the layer, drag it into our composition.
00:52Let's go back and close the original file.
00:55I'm going to rename this Mosaic. Switch to the Move tool.
01:03Move this so that the fish is somewhat over top of the circle.
01:07I'm going to use the keyboard shortcut Command+Option+G or Ctrl+Option+G to clip that into the Mosaic Clip layer.
01:13Once that's in place, let's come over to the Layers panel.
01:16Let's add an adjustment layer.
01:18Let's first come up and select Levels.
01:21Now, inside of the Levels Properties panel here, let's come in and make some changes.
01:26For the first number, let's come in and add 23. Let's hit a Tab.
01:29We'll put 1.9 for the middle area and 210 for the light area.
01:35Now, notice as I make these changes, we're seeing the changes across the entire canvas.
01:41Let's close the Properties.
01:43Let's come over here to the adjustment layer.
01:44I can hold the Option key, and notice we can create a clipping mask of the adjustment layer as well.
01:50So, I'll click on this.
01:52Now, when I turn this on and off, notice it only affects the Mosaic layer within the Mosaic
01:57clip, which both of those different layers are being clipped into.
02:00So, this gives us a way to add layer adjustments only to specific elements inside of our Photoshop canvas.
02:05Now, let's add one more layer adjustment.
02:08Let's come up and choose Hue/Saturation.
02:13Let's come into the Saturation area here and let's just really saturate those tiles on the fish.
02:18Bring that up to about 45 or 46. Let's close that.
02:21Again, we see it affecting the entire canvas. Command+Option+G or Ctrl+Option+G to conform
02:27that to happen just inside of the Mosaic clip layer.
02:30So now that we have both the photograph and layer adjustments clipped inside of a shape,
02:33in the next movie we're going to take a look at an alternate technique for creating a silhouette.
02:37using the Eraser and Paintbrush tools in conjunction with our clipping layer.
02:41
Collapse this transcript
Painting and erasing a custom clipping shape
00:00Now, we're going to create a custom shape around the fish mosaic that's clipped into the circle.
00:04We're going to use clipping masks and paintbrushes and the Eraser tool to create a custom
00:08silhouette shape instead of using a layer mask.
00:11So, let's come down and select the Mosaic clip layer.
00:15On the Tool Panel, let's come over and select the Paintbrush tool.
00:18You want to make sure you have a brush that doesn't have a very soft edge.
00:22Set the Hardness to 100.
00:25Let's come over here onto our canvas.
00:26I am going to zoom up here, move this over.
00:30So now what we're doing is with the Paintbrush tool selected, we want to click and drag
00:34and just start painting a shape.
00:36The effect that we have here is we're actually painting the photograph.
00:40But again, the photograph is clipped inside of the Mosaic clip Layer,
00:43and so what we're actually doing is changing the Mosaic clip shape.
00:47I can use my right and left bracket keys to increase and decrease the size of the brush.
00:53When I paint around the fish, I want to make sure we have at least two tiles deep all the
00:58way around the fish.
00:59So, I'll paint these in place here.
01:03And now that I have enough of the tiles around the fish, let's come over and select our Eraser tool.
01:08And now with the Eraser tool selected, let's come up and make sure we have a hard brush
01:11selected for this as well.
01:12Now, we're going to come in here and erase part of the background shape.
01:17So, I'm going to increase my brush size a little bit.
01:21So now with the Eraser tool, I'm going to come in here and just erase the artwork on the Mosaic clip.
01:25I'm going to erase it so that it matches up with two rows of tiles around the entire fish.
01:30So, as I go around here, I'm also going to leave a few stray tiles in here just for effect.
01:34So, I'm going to speed up the video here so you don't have to watch me do all of this.
01:38But again, you can create custom shapes by using the paintbrush and the Eraser tool
01:42and use this as an alternative to standard silhouetting techniques where you might use
01:46the Pen tool or use layer masks.
01:50In addition, any technique that you can use inside of here is going to work.
01:53So, any kind of feathered brushes or any other techniques you have for creating custom
01:58shapes and artwork on your canvas can be used in conjunction with a clipping mask.
02:03So now that I have the silhouette the way I want it, let's come over here and share some other effects.
02:08Let's come up to the Photo Clip Layer.
02:10Let's grab the Stroke effect, hold the Option or Alt key.
02:15Let's drag this down on the Mosaic clip. Let's add in the stroke.
02:17Now, in some cases, when you add the Stroke effect, you might see some stray areas.
02:22You can go back and erase some of those pieces.
02:25Let's double-click the Stroke effect.
02:28Let's set this down to 1. Let's click OK.
02:32Let's also share the drop shadow from the text layer.
02:35So, let's come up here, hold the Option or Alt key, grab drop shadow, and drag and drop
02:39this on here as well.
02:41So now we can zoom out.
02:44So now, here we've used a clipping mask in conjunction with the paintbrush and Eraser
02:48tool to create a custom silhouette of that individual shape.
02:51We've also clipped in adjustment layers so that we're only adjusting the pixels that
02:56are part of the mosaic tile graphic, so that those layer adjustments don't affect everything on the canvas.
03:02So now that we have our composition complete, next we'll take a look at a few other techniques
03:05you might want to combine along with clipping masks.
Collapse this transcript
Combining clipping masks and layer masks
00:00Now, while some of the effects of this composition can be achieved using layer masks, one thing
00:04we can do is we can combine clipping groups and layer masks to get even more nondestructive
00:10photo effects for our composition.
00:12So, to demonstrate this, let's come over to the Ferry Building's photo clip layer.
00:16Let's turn off all of the effects.
00:18I'm going to zoom up here, and I'm going to select the photo clip layer and come down
00:24and apply a layer mask.
00:26So now what I can do here is I'm going to select the G key, which is going to give me
00:29the Gradient tool, make sure that I have black and white as the colors on my foreground.
00:35I'll select this to black on the top.
00:37Come in here and just click and drag and add a gradient mask.
00:43So now, what we have here is the layer mask is masking the photo clip shape and the photo
00:48clip shape is controlling the shape of the Ferry Building photograph above it, which is being clipped in.
00:53So, this gives us two ways to control the transparency of the Ferry Building graphic.
00:58So, if I come over here and select the Move tool and move this around, not only can I keep
01:03the cropping in the upper-right and left corners and on the sides, but I can also drag
01:08the photograph down to decide where I want the layer mask, which, again, is being assigned
01:13to the photo clip layer, to affect my photography.
01:16Now, instead of a gradient mask, we can also use the layer mask to create photo edge effects.
01:24So, I'm going to come over here, select the layer mask.
01:28I'm going to hit Command+Delete to fill that with white so that we don't have any layer
01:31mask affecting the photo clip layer.
01:35Let's come over here to the Paintbrush tool.
01:37Make sure black is the foreground color.
01:39Let's come up to our brushes.
01:41Let's select an interesting brush, come down and choose one of the spatter brushes here.
01:45I'll select this one: Spatter 27 pixels.
01:47Now, with that brush selected, I'm going to come over to the canvas.
01:51Now again, I'm on the layer mask.
01:53So, let's come up here, let's click outside of the clipping area.
01:56I am going to move my cursor down, hold the Shift key, click again, and then Photoshop
02:02will create a straight line out of that spatter brush.
02:05This will give me a really even edge effect. Or you can come in here and just simply
02:10paint freehand to create something a little more amorphic.
02:16So now what we're doing here is we have that layer mask over here which is affecting the clipping shape,
02:20and again, we have the Ferry Building clipped into here.
02:23So, we can move this around, and the effect of that edge that we hand painted is being
02:28applied to the Ferry Building because it's clipped into the main shape that is being
02:32affected by the layer mask.
02:35So, as you can see, we can get some really interesting and nice effects using clipping
02:40masks, and all of the photography and artwork that we're clipping in remain untouched or unharmed.
02:46So, everything that we're doing here is nondestructive.
02:49And this gives you the ability to switch out the photography or change the composition,
02:53so as you need to make design changes for your clients, this will give you a really
02:56quick way to go in and make adjustments to your compositions.
Collapse this transcript


Suggested courses to watch next:

Photoshop for Web Design (4h 53m)
Justin Seeley



Are you sure you want to delete this bookmark?

cancel

Bookmark this Tutorial

Name

Description

{0} characters left

Tags

Separate tags with a space. Use quotes around multi-word tags. Suggested Tags:
loading
cancel

bookmark this course

{0} characters left Separate tags with a space. Use quotes around multi-word tags. Suggested Tags:
loading

Error:

go to playlists »

Create new playlist

name:
description:
save cancel

You must be a lynda.com member to watch this video.

Every course in the lynda.com library contains free videos that let you assess the quality of our tutorials before you subscribe—just click on the blue links to watch them. Become a member to access all 104,141 instructional videos.

get started learn more

If you are already an active lynda.com member, please log in to access the lynda.com library.

Get access to all lynda.com videos

You are currently signed into your admin account, which doesn't let you view lynda.com videos. For full access to the lynda.com library, log in through iplogin.lynda.com, or sign in through your organization's portal. You may also request a user account by calling 1 1 (888) 335-9632 or emailing us at cs@lynda.com.

Get access to all lynda.com videos

You are currently signed into your admin account, which doesn't let you view lynda.com videos. For full access to the lynda.com library, log in through iplogin.lynda.com, or sign in through your organization's portal. You may also request a user account by calling 1 1 (888) 335-9632 or emailing us at cs@lynda.com.

Access to lynda.com videos

Your organization has a limited access membership to the lynda.com library that allows access to only a specific, limited selection of courses.

You don't have access to this video.

You're logged in as an account administrator, but your membership is not active.

Contact a Training Solutions Advisor at 1 (888) 335-9632.

How to access this video.

If this course is one of your five classes, then your class currently isn't in session.

If you want to watch this video and it is not part of your class, upgrade your membership for unlimited access to the full library of 2,025 courses anytime, anywhere.

learn more upgrade

You can always watch the free content included in every course.

Questions? Call Customer Service at 1 1 (888) 335-9632 or email cs@lynda.com.

You don't have access to this video.

You're logged in as an account administrator, but your membership is no longer active. You can still access reports and account information.

To reactivate your account, contact a Training Solutions Advisor at 1 1 (888) 335-9632.

Need help accessing this video?

You can't access this video from your master administrator account.

Call Customer Service at 1 1 (888) 335-9632 or email cs@lynda.com for help accessing this video.

preview image of new course page

Try our new course pages

Explore our redesigned course pages, and tell us about your experience.

If you want to switch back to the old view, change your site preferences from the my account menu.

Try the new pages No, thanks

site feedback

Thanks for signing up.

We’ll send you a confirmation email shortly.


By signing up, you’ll receive about four emails per month, including

We’ll only use your email address to send you these mailings.

Here’s our privacy policy with more details about how we handle your information.

Keep up with news, tips, and latest courses with emails from lynda.com.

By signing up, you’ll receive about four emails per month, including

We’ll only use your email address to send you these mailings.

Here’s our privacy policy with more details about how we handle your information.

   
submit Lightbox submit clicked