{"id":1061,"date":"2017-06-11T03:39:06","date_gmt":"2017-06-11T07:39:06","guid":{"rendered":"https:\/\/pressbooks.bccampus.ca\/designandproductionforpr\/chapter\/10-3-exercise-3-add-a-layer-mask\/"},"modified":"2020-09-27T16:36:12","modified_gmt":"2020-09-27T20:36:12","slug":"10-3-exercise-3-add-a-layer-mask","status":"publish","type":"chapter","link":"https:\/\/pressbooks.bccampus.ca\/designandproductionforpr\/chapter\/10-3-exercise-3-add-a-layer-mask\/","title":{"raw":"10.3 Exercise 3: Add a layer mask","rendered":"10.3 Exercise 3: Add a layer mask"},"content":{"raw":"Layer Masks are a special component of Photoshop\u00ae layers that can hide portions of a layer\u2019s pixels. Layer Masks do not delete or alter image data, they simply hide or show parts of images based on the use of black (hidden), white (revealed), and shades of gray (transparent, partially hidden) in the mask portion of the layer. Layer Masks are a very useful tool in non-destructive editing and are much more forgiving than using the eraser tool. We will use a Layer Mask on the Amelia layer to blend her into the new background.\n<div class=\"textbox\"><em>Note:<\/em> Other types of masks include clipping masks (see Exercise 4 in Chapter 9) and vector masks, where vector data instead of bitmap data determines what is black and what is white. We will work with layer masks in this chapter and in Chapter 11.<\/div>\n<ol>\n \t<li>\u00a0Create a layer mask on the Amelia layer with the Add layer mask button at the bottom of the Layers panel. This mask will hide the background around Amelia's head. Notice that the layer now has a thumbnail icon for the layer\u2019s image and an icon for its mask. Photoshop\u00ae indicates which part of the layer you are working on by framing the corners of its icon in the Layers panel with white brackets. The title bar in the document also reflects the area that is currently active. You can see from these indicators that the Layer Mask in the Amelia layer is active.\n<img class=\"alignnone size-full wp-image-1056\" src=\"https:\/\/pressbooks.bccampus.ca\/designandproductionforpr\/wp-content\/uploads\/sites\/1096\/2017\/06\/c10-ex3-1a.png\" alt=\"Screen capture of layers panel with the layer mask of the Amelia layer active.\" width=\"268\" height=\"354\"><\/li>\n \t<li>Activate the Brush tool (B on the keyboard) and make sure that the default colors are loaded into the foreground\/background color chips (black as foreground, white as the background color) by clicking on the small black\/white color chip icon to the top left area of the actual color chips in the Tools panel. Then click the angled double arrow icon next to the default colors button. This will swap the foreground and background colors, setting black as the foreground.\n\n<img class=\"alignnone size-full wp-image-436\" src=\"https:\/\/pressbooks.bccampus.ca\/designandproductionforpr\/wp-content\/uploads\/sites\/1096\/2020\/08\/c10-ex3-2a-1.png\" alt=\"Image showing mouse pointer over color chip area in the Adobe\u00ae Photoshop\u00ae Tools panel.\" width=\"39\" height=\"60\">\u00a0 <img class=\"alignnone size-full wp-image-437\" src=\"https:\/\/pressbooks.bccampus.ca\/designandproductionforpr\/wp-content\/uploads\/sites\/1096\/2020\/08\/c10-ex3-2b-1.png\" alt=\"Image showing mouse pointer over color swap area in the Adobe\u00ae Photoshop\u00ae Tools panel.\" width=\"42\" height=\"61\">\n<div class=\"textbox\"><em>Key Command:<\/em> Press the letter D on the keyboard to set the foreground and background color chips to the default setting of black and white, respectively. Press the X key to swap the foreground and background colors. Swapping foreground and background will be very useful when you\u2019re working on the Layer Mask.<\/div><\/li>\n \t<li>Notice that the icon for the mask is white in the Layers panel. Since the entire mask is white, none of the layer\u2019s image pixels are currently hidden. With the Layer Mask active, painting in the canvas with black paint will add black to the mask and will hide those areas of the layer\u2019s image pixels. If you make a mistake, switch to white paint to retrieve hidden parts of the image. Practice painting with black and white paint. Paint with different size brushes and notice what happens with a soft or hard brush, or with different\u00a0brush opacity settings.\n\n[caption id=\"attachment_438\" align=\"alignnone\" width=\"647\"]<img class=\"size-full wp-image-438\" src=\"https:\/\/pressbooks.bccampus.ca\/designandproductionforpr\/wp-content\/uploads\/sites\/1096\/2020\/08\/c10-ex3-3a-1.png\" alt=\"Screen capture showing a brush painting into the Amelia layer's layer mask to hide pixels.\" width=\"647\" height=\"424\"> Painting into the Layer Mask with black hides image pixels in the Amelia layer.[\/caption]\n\nWe used a soft brush for the background area and kept it far away from Amelia's head. As we brushed closer to her hair, we reduced the opacity of the brush in the Options bar to about 40%. At a reduced opacity, clicking a few times near her head with black paint removes the background while keeping her hair from being cut to an unnatural shape. We also used a soft brush on her neck so that it blended smoothly with the neck in the crew photo.\nWatch Out: Do not delete image data. Do not use the eraser. Using the eraser is destructive editing. Now that you are learning to use Layer Masks, you can practice making non-destructive edits. This technique is so important that it is the dominant topic in Chapter 11.\n\nOne more detail: we added a Layer Mask to the flag layer in order to hide part of the flag that was covering the collar in the original image. Our finished result is shown here:\n\n<img class=\"alignnone size-full wp-image-439\" src=\"https:\/\/pressbooks.bccampus.ca\/designandproductionforpr\/wp-content\/uploads\/sites\/1096\/2020\/08\/c10-ex3-3b-1.png\" alt=\"Image showing completed layer mask, blending Amelia Earhart's image into the crew photo.\" width=\"915\" height=\"510\"><\/li>\n<\/ol>","rendered":"<p>Layer Masks are a special component of Photoshop\u00ae layers that can hide portions of a layer\u2019s pixels. Layer Masks do not delete or alter image data, they simply hide or show parts of images based on the use of black (hidden), white (revealed), and shades of gray (transparent, partially hidden) in the mask portion of the layer. Layer Masks are a very useful tool in non-destructive editing and are much more forgiving than using the eraser tool. We will use a Layer Mask on the Amelia layer to blend her into the new background.<\/p>\n<div class=\"textbox\"><em>Note:<\/em> Other types of masks include clipping masks (see Exercise 4 in Chapter 9) and vector masks, where vector data instead of bitmap data determines what is black and what is white. We will work with layer masks in this chapter and in Chapter 11.<\/div>\n<ol>\n<li>\u00a0Create a layer mask on the Amelia layer with the Add layer mask button at the bottom of the Layers panel. This mask will hide the background around Amelia&#8217;s head. Notice that the layer now has a thumbnail icon for the layer\u2019s image and an icon for its mask. Photoshop\u00ae indicates which part of the layer you are working on by framing the corners of its icon in the Layers panel with white brackets. The title bar in the document also reflects the area that is currently active. You can see from these indicators that the Layer Mask in the Amelia layer is active.<br \/>\n<img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-1056\" src=\"https:\/\/pressbooks.bccampus.ca\/designandproductionforpr\/wp-content\/uploads\/sites\/1096\/2017\/06\/c10-ex3-1a.png\" alt=\"Screen capture of layers panel with the layer mask of the Amelia layer active.\" width=\"268\" height=\"354\" srcset=\"https:\/\/pressbooks.bccampus.ca\/designandproductionforpr\/wp-content\/uploads\/sites\/1096\/2017\/06\/c10-ex3-1a.png 268w, https:\/\/pressbooks.bccampus.ca\/designandproductionforpr\/wp-content\/uploads\/sites\/1096\/2017\/06\/c10-ex3-1a-227x300.png 227w, https:\/\/pressbooks.bccampus.ca\/designandproductionforpr\/wp-content\/uploads\/sites\/1096\/2017\/06\/c10-ex3-1a-65x86.png 65w, https:\/\/pressbooks.bccampus.ca\/designandproductionforpr\/wp-content\/uploads\/sites\/1096\/2017\/06\/c10-ex3-1a-225x297.png 225w\" sizes=\"auto, (max-width: 268px) 100vw, 268px\" \/><\/li>\n<li>Activate the Brush tool (B on the keyboard) and make sure that the default colors are loaded into the foreground\/background color chips (black as foreground, white as the background color) by clicking on the small black\/white color chip icon to the top left area of the actual color chips in the Tools panel. Then click the angled double arrow icon next to the default colors button. This will swap the foreground and background colors, setting black as the foreground.\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-436\" src=\"https:\/\/pressbooks.bccampus.ca\/designandproductionforpr\/wp-content\/uploads\/sites\/1096\/2020\/08\/c10-ex3-2a-1.png\" alt=\"Image showing mouse pointer over color chip area in the Adobe\u00ae Photoshop\u00ae Tools panel.\" width=\"39\" height=\"60\" \/>\u00a0 <img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-437\" src=\"https:\/\/pressbooks.bccampus.ca\/designandproductionforpr\/wp-content\/uploads\/sites\/1096\/2020\/08\/c10-ex3-2b-1.png\" alt=\"Image showing mouse pointer over color swap area in the Adobe\u00ae Photoshop\u00ae Tools panel.\" width=\"42\" height=\"61\" \/><\/p>\n<div class=\"textbox\"><em>Key Command:<\/em> Press the letter D on the keyboard to set the foreground and background color chips to the default setting of black and white, respectively. Press the X key to swap the foreground and background colors. Swapping foreground and background will be very useful when you\u2019re working on the Layer Mask.<\/div>\n<\/li>\n<li>Notice that the icon for the mask is white in the Layers panel. Since the entire mask is white, none of the layer\u2019s image pixels are currently hidden. With the Layer Mask active, painting in the canvas with black paint will add black to the mask and will hide those areas of the layer\u2019s image pixels. If you make a mistake, switch to white paint to retrieve hidden parts of the image. Practice painting with black and white paint. Paint with different size brushes and notice what happens with a soft or hard brush, or with different\u00a0brush opacity settings.<br \/>\n<figure id=\"attachment_438\" aria-describedby=\"caption-attachment-438\" style=\"width: 647px\" class=\"wp-caption alignnone\"><img loading=\"lazy\" decoding=\"async\" class=\"size-full wp-image-438\" src=\"https:\/\/pressbooks.bccampus.ca\/designandproductionforpr\/wp-content\/uploads\/sites\/1096\/2020\/08\/c10-ex3-3a-1.png\" alt=\"Screen capture showing a brush painting into the Amelia layer's layer mask to hide pixels.\" width=\"647\" height=\"424\" \/><figcaption id=\"caption-attachment-438\" class=\"wp-caption-text\">Painting into the Layer Mask with black hides image pixels in the Amelia layer.<\/figcaption><\/figure>\n<p>We used a soft brush for the background area and kept it far away from Amelia&#8217;s head. As we brushed closer to her hair, we reduced the opacity of the brush in the Options bar to about 40%. At a reduced opacity, clicking a few times near her head with black paint removes the background while keeping her hair from being cut to an unnatural shape. We also used a soft brush on her neck so that it blended smoothly with the neck in the crew photo.<br \/>\nWatch Out: Do not delete image data. Do not use the eraser. Using the eraser is destructive editing. Now that you are learning to use Layer Masks, you can practice making non-destructive edits. This technique is so important that it is the dominant topic in Chapter 11.<\/p>\n<p>One more detail: we added a Layer Mask to the flag layer in order to hide part of the flag that was covering the collar in the original image. Our finished result is shown here:<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-439\" src=\"https:\/\/pressbooks.bccampus.ca\/designandproductionforpr\/wp-content\/uploads\/sites\/1096\/2020\/08\/c10-ex3-3b-1.png\" alt=\"Image showing completed layer mask, blending Amelia Earhart's image into the crew photo.\" width=\"915\" height=\"510\" \/><\/li>\n<\/ol>\n","protected":false},"author":515,"menu_order":3,"template":"","meta":{"pb_show_title":"on","pb_short_title":"","pb_subtitle":"","pb_authors":["xtine-burrough","michael-mandiberg"],"pb_section_license":"cc-by-nc-sa"},"chapter-type":[48],"contributor":[65,64],"license":[56],"class_list":["post-1061","chapter","type-chapter","status-publish","hentry","chapter-type-numberless","contributor-michael-mandiberg","contributor-xtine-burrough","license-cc-by-nc-sa"],"part":1038,"_links":{"self":[{"href":"https:\/\/pressbooks.bccampus.ca\/designandproductionforpr\/wp-json\/pressbooks\/v2\/chapters\/1061","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/pressbooks.bccampus.ca\/designandproductionforpr\/wp-json\/pressbooks\/v2\/chapters"}],"about":[{"href":"https:\/\/pressbooks.bccampus.ca\/designandproductionforpr\/wp-json\/wp\/v2\/types\/chapter"}],"author":[{"embeddable":true,"href":"https:\/\/pressbooks.bccampus.ca\/designandproductionforpr\/wp-json\/wp\/v2\/users\/515"}],"version-history":[{"count":1,"href":"https:\/\/pressbooks.bccampus.ca\/designandproductionforpr\/wp-json\/pressbooks\/v2\/chapters\/1061\/revisions"}],"predecessor-version":[{"id":1062,"href":"https:\/\/pressbooks.bccampus.ca\/designandproductionforpr\/wp-json\/pressbooks\/v2\/chapters\/1061\/revisions\/1062"}],"part":[{"href":"https:\/\/pressbooks.bccampus.ca\/designandproductionforpr\/wp-json\/pressbooks\/v2\/parts\/1038"}],"metadata":[{"href":"https:\/\/pressbooks.bccampus.ca\/designandproductionforpr\/wp-json\/pressbooks\/v2\/chapters\/1061\/metadata\/"}],"wp:attachment":[{"href":"https:\/\/pressbooks.bccampus.ca\/designandproductionforpr\/wp-json\/wp\/v2\/media?parent=1061"}],"wp:term":[{"taxonomy":"chapter-type","embeddable":true,"href":"https:\/\/pressbooks.bccampus.ca\/designandproductionforpr\/wp-json\/pressbooks\/v2\/chapter-type?post=1061"},{"taxonomy":"contributor","embeddable":true,"href":"https:\/\/pressbooks.bccampus.ca\/designandproductionforpr\/wp-json\/wp\/v2\/contributor?post=1061"},{"taxonomy":"license","embeddable":true,"href":"https:\/\/pressbooks.bccampus.ca\/designandproductionforpr\/wp-json\/wp\/v2\/license?post=1061"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}