Easy-to-follow video tutorials help you learn software, creative, and business skills.Become a member

Pasting into a layer mask

From: Photoshop CS4: Layer Masks in Depth

Video: Pasting into a layer mask

Another way to make a layer mask is to use another image as the mask. This method isn't used as often as the other methods that I've shown you, but it can create some really interesting effects. I've two images open, this is the source image, an image that I'm going to select and then use to hide or mask part of a layer on this image, the destination image. Let me show you what's on each layer here, so you understand the structure of the file. I'll hold down the Option or Alt key. As I click on the Eye icon to the left of each one of the layers in turn.

Pasting into a layer mask

Another way to make a layer mask is to use another image as the mask. This method isn't used as often as the other methods that I've shown you, but it can create some really interesting effects. I've two images open, this is the source image, an image that I'm going to select and then use to hide or mask part of a layer on this image, the destination image. Let me show you what's on each layer here, so you understand the structure of the file. I'll hold down the Option or Alt key. As I click on the Eye icon to the left of each one of the layers in turn.

So, this is what's on the hand layer. It's just here as a sort of extra bit. This is the paper layer, and this is the layer that I'm going to mask. I'm going to use that sketch as a mask for this white paper, so that you can see down through the area of the sketch to this maroon background below. So, now I have all the layers back on in the destination image, and I'm going to go back to the sketch by clicking on its document tab. Here I want to select just the colored part of the sketch.

By the way, you can use as a source image a sketch or a photograph, a color image or black and white, anything that you want, as long as you can select it. To select the sketch, I'm going to get the Magic Wand tool. I'll go to the Options bar for the Magic Wand tool and I'm going to reduce the tolerance of the tool, so that it only selects the background when I click with the tool on the background. I'm going to do that now. Now, I don't want the background of this image selected, I want the sketch selected. So, I'll invert this selection by going up to the Select menu and choosing Inverse.

Now, I have just the sketch selected, I've managed to select the dark areas and the light areas too. I'm going to copy the selected sketch into the memory over the clipboard of my computer by going to the Edit menu and choosing Copy, or I'm more likely to just use this keyboard shortcut, Command +C on the Mac or Ctrl+C on the PC. Now, you can't see anything that tells you that this sketch is in the computer's memory, but it will stay there until I choose the Paste command. Now, I'm done with the Sketch image, I'm going to close it by clicking the X on the document tab.

Now here, in the destination image, the drawing, I'm going to create a layer mask and then paste this sketch into the layer mask. As I've mentioned, I want to mask a part of the paper layer. So, in the Layers panel, I make sure that the paper layer is the selected layer, and then I'll go down to the bottom of the Layers panel, and I'll click the Add Layer Mask button there. That adds the layer mask thumbnail, which by default is filled with white pixels, and so it's having no effect on the paper layer. Remember, I still have that sketch in my computer's clipboard. I'm almost ready to paste it into this layer mask.

But there's a little catch here. It's logical to think that all you have to do at this point is make sure the layer mask thumbnail is selected and then choose the Paste command, but that doesn't work. Watch what happens when I try that. I have the layer mask thumbnail selected, I'm going to go up to the Edit menu and choose Paste. Instead of pasting the sketch into the layer mask thumbnail, Photoshop has made a brand-new layer and pasted the sketch there. Well, that isn't what I want, because I'm not interested in having the blue and black sketch. I want to use the tonality of the sketch as a mask to hide part of the paper layer, so I can see down to the maroon layer that's at the bottom of the layer stack.

So, I'm going to undo, Command+Z or Ctrl +Z on the PC and show you the trick for pasting into a layer mask. In order to make that work, you have to first hold down the Option key on the Mac or the Alt key on the PC as you click inside the layer mask thumbnail. That turns the document window white and the reason is, as you've seen me doing in so many movies, when you Option- click or Alt-click in the layer mask thumbnail that displays the layer mask here in the document window. This layer mask is still plain white and so, the document window looks white.

Now that I've done that step, I can paste the contents of my clipboard here into the layer mask. Again, I'll go up to the Edit menu and choose Paste or I'm more likely to use the shortcut, Command+V on the Mac or Ctrl+V on the PC. That does pastes that copied sketch into the layer mask. It comes in with the selections still active, and as long as the selection is active, I can move the layer mask into place with the Move tool. But I can't see exactly where to move it here in the layer mask display in the document window.

So, with this selection still active, I'm going to go back to the Photo view by moving to the Layers panel, holding the Option key or the Alt key on the PC and again, clicking on the layer mask thumbnail. Here in the Photo view, you can see the selection indicating where the mask is now. Now, I want to be sure not to click in the document window with the Selection tool active where I'll lose this selection. Instead, I'm going to get the Move tool in the Toolbox and then I'll come in and click inside the selection and drag and that moves the selection and its content.

That selection is the same thing as the layer mask at this point. So, I'm going to drag it down, so that the bottom of the tree trunk is touching the bottom of the paper down here. When I'm done, I can deselect by pressing Command+D on the Mac, Ctrl+D on the PC, or if you prefer commands you can go up to the Select menu and choose Deselect from there. Now, I have just the effect that I wanted, I've used the sketch image as a layer mask, masking out part of the paper, so we can see down through to the maroon on the layer below.

Notice that there are some dark areas and some lighter areas, and those are caused by the black and the gray pixels on the layer mask. Let's take a look at that layer mask again by going over to the Layers panel and Option-clicking or Alt- clicking on the layer mask thumbnail. So, as you can see, the mask contains black pixels hiding the paper layer, white pixels showing the paper layer and some gray pixels from the sketch that are partially hiding the contents of the paper layer, giving a convincing tonal appearance to the layer mask.

I'll Option-click or Alt-click again on the layer mask thumbnail, to go back to the Photo view, so you can see the finished product. Keep in mind that the source image doesn't have to be a sketch or a drawing, give it a try with a couple of your own images. You can try color photographs or really any image that you have that you can select and use as a layer mask on another image.

Show transcript

This video is part of

Image for Photoshop CS4: Layer Masks in Depth
Photoshop CS4: Layer Masks in Depth

51 video lessons · 30247 viewers

Jan Kabili
Author

 
Expand all | Collapse all
  1. 5m 13s
    1. Welcome
      1m 11s
    2. Using the exercise files
      1m 5s
    3. Making a course workspace
      2m 57s
  2. 47m 20s
    1. What is a layer mask?
      4m 25s
    2. What are layer masks used for?
      6m 15s
    3. Introducing the Masks panel
      6m 43s
    4. Adding a layer mask
      4m 28s
    5. Converting a background layer for masking
      2m 58s
    6. Targeting a layer mask
      4m 2s
    7. Painting on a layer mask
      5m 2s
    8. Viewing a layer mask
      5m 31s
    9. Disabling a layer mask
      1m 54s
    10. Deleting and applying layer masks
      3m 29s
    11. Saving layer masks with a file
      2m 33s
  3. 30m 25s
    1. Filling a selection on a layer mask
      8m 0s
    2. Making a layer mask from a selection of the foreground
      4m 8s
    3. Making a layer mask from a selection of the background
      4m 12s
    4. Adding a gradient to a layer mask
      7m 47s
    5. Pasting into a layer mask
      6m 18s
  4. 19m 13s
    1. Adjusting mask density
      4m 1s
    2. Feathering masks
      5m 44s
    3. Fine-tuning mask edges
      9m 28s
  5. 47m 9s
    1. Moving and copying layer masks
      6m 42s
    2. Inverting layer masks
      3m 40s
    3. Loading selections from layer masks
      1m 38s
    4. Unlinking layer masks
      4m 46s
    5. Filtering layer masks
      4m 0s
    6. Adding adjustments to layer masks
      4m 46s
    7. Adding layer masks to layer groups
      8m 48s
    8. Adding layer masks to Smart Objects
      6m 26s
    9. Using layer masks with layer styles
      6m 23s
  6. 12m 21s
    1. Creating vector masks
      5m 4s
    2. Editing vector masks
      2m 53s
    3. Using vector masks with layer masks
      4m 24s
  7. 41m 38s
    1. Combining images
      9m 42s
    2. Replacing a background
      7m 48s
    3. Putting an object inside another
      6m 57s
    4. Pasting into a selection
      3m 57s
    5. Intersecting objects
      6m 26s
    6. Limiting a fill layer
      6m 48s
  8. 55m 45s
    1. Limiting adjustment layers
      7m 20s
    2. Adding grayscale pixels to an adjustment layer mask
      5m 4s
    3. Copying adjustment layer masks
      5m 14s
    4. Applying blend modes selectively
      2m 51s
    5. Retouching portraits selectively
      5m 43s
    6. Combining bracketed exposures
      8m 18s
    7. Combining Camera Raw exposures
      6m 56s
    8. Manipulating depth of field
      4m 41s
    9. Targeting image sharpening
      5m 36s
    10. Framing photographs
      4m 2s
  9. 56s
    1. Goodbye
      56s

Start learning today

Get unlimited access to all courses for just $25/month.

Become a member
Sometimes @lynda teaches me how to use a program and sometimes Lynda.com changes my life forever. @JosefShutter
@lynda lynda.com is an absolute life saver when it comes to learning todays software. Definitely recommend it! #higherlearning @Michael_Caraway
@lynda The best thing online! Your database of courses is great! To the mark and very helpful. Thanks! @ru22more
Got to create something yesterday I never thought I could do. #thanks @lynda @Ngventurella
I really do love @lynda as a learning platform. Never stop learning and developing, it’s probably our greatest gift as a species! @soundslikedavid
@lynda just subscribed to lynda.com all I can say its brilliant join now trust me @ButchSamurai
@lynda is an awesome resource. The membership is priceless if you take advantage of it. @diabetic_techie
One of the best decision I made this year. Buy a 1yr subscription to @lynda @cybercaptive
guys lynda.com (@lynda) is the best. So far I’ve learned Java, principles of OO programming, and now learning about MS project @lucasmitchell
Signed back up to @lynda dot com. I’ve missed it!! Proper geeking out right now! #timetolearn #geek @JayGodbold
Share a link to this course

What are exercise files?

Exercise files are the same files the author uses in the course. Save time by downloading the author's files instead of setting up your own files, and learn by following along with the instructor.

Can I take this course without the exercise files?

Yes! If you decide you would like the exercise files later, you can upgrade to a premium account any time.

Become a member Download sample files See plans and pricing

Please wait... please wait ...
Upgrade to get access to exercise files.

Exercise files video

How to use exercise files.

Learn by watching, listening, and doing, Exercise files are the same files the author uses in the course, so you can download them and follow along Premium memberships include access to all exercise files in the library.


Exercise files

Exercise files video

How to use exercise files.

For additional information on downloading and using exercise files, watch our instructional video or read the instructions in the FAQ .

This course includes free exercise files, so you can practice while you watch the course. To access all the exercise files in our library, become a Premium Member.

Join now Already a member? Log in

Are you sure you want to mark all the videos in this course as unwatched?

This will not affect your course history, your reports, or your certificates of completion for this course.


Mark all as unwatched Cancel

Congratulations

You have completed Photoshop CS4: Layer Masks in Depth.

Return to your organization's learning portal to continue training, or close this page.


OK
Become a member to add this course to a playlist

Join today and get unlimited access to the entire library of video courses—and create as many playlists as you like.

Get started

Already a member ?

Become a member to like this course.

Join today and get unlimited access to the entire library of video courses.

Get started

Already a member?

Exercise files

Learn by watching, listening, and doing! Exercise files are the same files the author uses in the course, so you can download them and follow along. Exercise files are available with all Premium memberships. Learn more

Get started

Already a Premium member?

Exercise files video

How to use exercise files.

Ask a question

Thanks for contacting us.
You’ll hear from our Customer Service team within 24 hours.

Please enter the text shown below:

The classic layout automatically defaults to the latest Flash Player.

To choose a different player, hold the cursor over your name at the top right of any lynda.com page and choose Site preferences from the dropdown menu.

Continue to classic layout Stay on new layout
Exercise files

Access exercise files from a button right under the course name.

Mark videos as unwatched

Remove icons showing you already watched videos if you want to start over.

Control your viewing experience

Make the video wide, narrow, full-screen, or pop the player out of the page into its own window.

Interactive transcripts

Click on text in the transcript to jump to that spot in the video. As the video plays, the relevant spot in the transcript will be highlighted.

Are you sure you want to delete this note?

No

Your file was successfully uploaded.

Thanks for signing up.

We’ll send you a confirmation email shortly.


Sign up and receive emails about lynda.com and our online training library:

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.

Sign up and receive emails about lynda.com and our online training library:

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

   
submit Lightbox submit clicked
Terms and conditions of use

We've updated our terms and conditions (now called terms of service).Go
Review and accept our updated terms of service.