{"id":923,"date":"2017-06-29T05:44:22","date_gmt":"2017-06-29T09:44:22","guid":{"rendered":"https:\/\/pressbooks.bccampus.ca\/designandproductionforpr\/chapter\/6-5-exercise-5-tracing-an-image-and-creating-a-clipping-mask\/"},"modified":"2020-09-27T16:35:52","modified_gmt":"2020-09-27T20:35:52","slug":"6-5-exercise-5-tracing-an-image-and-creating-a-clipping-mask","status":"publish","type":"chapter","link":"https:\/\/pressbooks.bccampus.ca\/designandproductionforpr\/chapter\/6-5-exercise-5-tracing-an-image-and-creating-a-clipping-mask\/","title":{"raw":"6.5 Exercise 5: Tracing an image and creating a clipping mask","rendered":"6.5 Exercise 5: Tracing an image and creating a clipping mask"},"content":{"raw":"<h2>Clipping Masks<\/h2>\nThe Pen Tool is often used in combination with images or vector art to create clipping masks. A clipping mask is used to redefine which parts of an object are revealed to the viewer. They are commonly used on photograhic images to \"remove the background\" from a figure in the image. Included in the files for this chapter is a photograph of a hand in front of a flat wall (ch6-hand.psd is a Photoshop\u00ae document). First the Pen Tool will be used to draw a path around the arm, then the resultant path will be used as a clipping mask to hide the rest of the photograph.\n<ol>\n \t<li>Start with a new print document in Adobe\u00ae Illustrator\u00ae set to standard letter size dimensions. You may change the unit of measure to Inches. Name and save your file as ch6-clippath-hand.ai.<\/li>\n \t<li>Choose File &gt; Place to place the image of the hand (ch6-hand.psd) on the new layer. The cursor will \u2018load\u2019 the image. Click any where on the artboard. Do not click and drag. That will change the image size.\n\n[caption id=\"attachment_917\" align=\"alignnone\" width=\"500\"]<img class=\"size-full wp-image-917\" src=\"https:\/\/pressbooks.bccampus.ca\/designandproductionforpr\/wp-content\/uploads\/sites\/1096\/2017\/06\/ch6fig26.png\" alt=\"Location of linking options for placing documents in Illustrator\u00ae\" width=\"500\" height=\"376\"> Locating and unchecking the Link box. Image:\u00a0<a href=\"http:\/\/wiki.digital-foundations.net\/index.php?title=File:FIg06_Ex5_04_CS6.png\">http:\/\/wiki.digital-foundations.net\/index.php?title=File:FIg06_Ex5_04_CS6.png<\/a>[\/caption]\n\n<div class=\"textbox\"><strong>Watch Out:<\/strong>\u00a0The \"link\" checkbox in the Place dialog box is used to link (when checked) or embed (when unchecked) the image file in the Illustrator\u00ae document. Linking files can be useful as the images are not actually stored in the Illustrator\u00ae document, so the file size of the Ai document is not affected by large images. However, linked files must remain available on the hard disk or in the folder, in the same relative position as they were when the relationship between the linked image and Illustrator\u00ae file was created in order to view and print the Ai document. For beginning students, it is recommended to embed images, or keep \"Link\" unchecked.<\/div><\/li>\n \t<li>Double-click the icon in the Layer panel and click on the \"Template\" checkbox. The image will appear dim. Name your layer \u2018background\u2019. Create a new layer above this template layer. Name this \u2018hand\u2019.\n\n[caption id=\"attachment_737\" align=\"alignnone\" width=\"338\"]<img class=\"size-full wp-image-737\" src=\"https:\/\/pressbooks.bccampus.ca\/designandproductionforpr\/wp-content\/uploads\/sites\/1096\/2020\/08\/ch6fig27-1.png\" alt=\"Layer Options dialog box\" width=\"338\" height=\"277\"> Setting up Layer Options to create a Template layer with the image dimmed to 50%[\/caption]\n\n[caption id=\"attachment_738\" align=\"alignnone\" width=\"297\"]<img class=\"size-full wp-image-738\" src=\"https:\/\/pressbooks.bccampus.ca\/designandproductionforpr\/wp-content\/uploads\/sites\/1096\/2020\/08\/ch6fig28-1.png\" alt=\"Create a New Layer from the Layers panel\" width=\"297\" height=\"247\"> Create a New Layer from the Layers panel[\/caption]<\/li>\n \t<li>Use the Pen Tool to trace the hand. Remember to start and stop on the same anchor point. Also remember that the path doesn't have to be perfect, as the Direct Select tool can be used to modify it once it has been created.\n\n[caption id=\"attachment_739\" align=\"alignnone\" width=\"400\"]<img class=\"size-full wp-image-739\" src=\"https:\/\/pressbooks.bccampus.ca\/designandproductionforpr\/wp-content\/uploads\/sites\/1096\/2020\/08\/ch6fig29-1.png\" alt=\"Arm that has been outlined with the Pen Tool\" width=\"400\" height=\"148\"> A tracing of the hand and arm using the pen tool[\/caption]<\/li>\n \t<li>To transform the path into a clipping mask, you will select both the path and the image. First, unlock the background template layer. Next make sure you are on the hand layer. Using the Selection Tool click on the path (around the arm\/hand) then hold SHFT and click on the photograph background somewhere above the arm\/hand selection. You will see anchor points around the path you just plotted and on the four corners of the placed photograph. Choose Object &gt; Clipping Mask &gt; Make.\n\n[caption id=\"attachment_742\" align=\"alignnone\" width=\"400\"]<img class=\"size-full wp-image-742\" src=\"https:\/\/pressbooks.bccampus.ca\/designandproductionforpr\/wp-content\/uploads\/sites\/1096\/2020\/08\/ch6fig32-1.png\" alt=\"Creating a clipping mask\" width=\"400\" height=\"626\"> Transforming the path into a clipping mask. Main menu &gt; Object &gt; Clipping Mask &gt; Make[\/caption]\n\nA clipping mask is used to define the areas that are revealed to the viewer, while any part of the image outside of the path is hidden.\n<div class=\"textbox\"><strong>Tip:<\/strong> If you are making a clipping mask, you should have a path that is placed inside the photographic image. That is, the photographic image should be larger than the path that will be used to mask it. If the path is larger than the entire image, the mask will simply reveal everything, in which case you don\u2019t really need a mask.<\/div>\n<div class=\"textbox\"><strong>Tip:<\/strong> Be sure to click on the path, then shift-click the photographic image someplace outside of the path. Shift-clicking inside an area that includes both the path and the image deselects everything!<\/div><\/li>\n \t<li>Modifying the clipping mask or the image that is masked is possible, as long as you select just one or the other with the Direct Selection Tool. For first time users, this is not always as easy as it sounds. The most fool-proof way to select the mask and not the image is to use the Layer panel. Expand Layer 2 on the Layer panel. Now you have a group that contains the clipping mask and the photographic image. Expand the group so that you can see all of its parts by clicking on the sideways triangle to the left of the word, \u201cGroup\u201d, in the Layer panel. Now you will see the mask and the image.To the right of each path on a layer there is an area where a small colored box appears if that particular path is selected. Clicking on this part of the Layer panel will select a path within the Art Board. Click to create a blue box next to the clipping mask in the Layer panel. You should see the anchor points surrounding the mask within your document. Use the Direct Selection Tool to modify the mask without touching the photographic image.\n\n[caption id=\"attachment_741\" align=\"alignnone\" width=\"715\"]<img class=\"size-full wp-image-741\" src=\"https:\/\/pressbooks.bccampus.ca\/designandproductionforpr\/wp-content\/uploads\/sites\/1096\/2020\/08\/ch6fig31-1.png\" alt=\"Results of masking and layers\" width=\"715\" height=\"375\"> left: Successful masking of the hand and arm. right: The Layers Panel after clipping has occurred. To open secondary layers, toggle (click on) the gray triangle next to the main layer.[\/caption]<\/li>\n \t<li>The Selection Tool can be used to move the entire image and mask as one unit, since they are grouped together within the Layer panel. Once a clipping mask has been made, it will remain grouped in the Layer panel unless you release it.Save your file.<\/li>\n<\/ol>\n&nbsp;\n\n<strong>READ ONLY, do not complete this step.<\/strong>\n\nTo delete the clipping mask, you can click on it with the Selection Tool then choose Object &gt; Clipping Mask &gt; Release. Now both the path that was used as the mask and the image are available as two separate objects. They can be deleted or modified as individual objects.\n<h3>Attribution<\/h3>\n\u201c<a href=\"http:\/\/digital-foundations.net\/\" target=\"_blank\" rel=\"noopener noreferrer\">Digital Foundations \u2013 Intro to Media Design<\/a>\u201d by\u00a0<a href=\"http:\/\/missconceptions.net\/\" target=\"_blank\" rel=\"noopener noreferrer\">Xtine Burroughs<\/a>\u00a0and\u00a0<a href=\"http:\/\/mandiberg.com\/\" target=\"_blank\" rel=\"noopener noreferrer\">Michael Mandiberg<\/a>\u00a0is licensed under\u00a0<a href=\"https:\/\/creativecommons.org\/licenses\/by-nc-sa\/3.0\/\">CC BY-NC-SA 3.0\u00a0<\/a>\/ This is a derivative from the\u00a0<a href=\"http:\/\/wiki.digital-foundations.net\/index.php?title=Main_Page\">original work<\/a>. Content is available under\u00a0<a href=\"https:\/\/creativecommons.org\/licenses\/by-nc-sa\/3.0\/\">Creative Commons Attribution Non-Commercial Share Alike<\/a>\u00a0unless otherwise noted.\n<div class=\"wp-nocaption alignnone wp-image-299 size-full\"><img class=\"alignnone wp-image-299 size-full\" src=\"https:\/\/pressbooks.bccampus.ca\/designandproductionforpr\/wp-content\/uploads\/sites\/1096\/2020\/08\/cc-by-nc-sa-e1497051420987-1.png\" alt=\"Creative Commons icon for BY-NC-SA license\" width=\"125\" height=\"44\"><\/div>","rendered":"<h2>Clipping Masks<\/h2>\n<p>The Pen Tool is often used in combination with images or vector art to create clipping masks. A clipping mask is used to redefine which parts of an object are revealed to the viewer. They are commonly used on photograhic images to &#8220;remove the background&#8221; from a figure in the image. Included in the files for this chapter is a photograph of a hand in front of a flat wall (ch6-hand.psd is a Photoshop\u00ae document). First the Pen Tool will be used to draw a path around the arm, then the resultant path will be used as a clipping mask to hide the rest of the photograph.<\/p>\n<ol>\n<li>Start with a new print document in Adobe\u00ae Illustrator\u00ae set to standard letter size dimensions. You may change the unit of measure to Inches. Name and save your file as ch6-clippath-hand.ai.<\/li>\n<li>Choose File &gt; Place to place the image of the hand (ch6-hand.psd) on the new layer. The cursor will \u2018load\u2019 the image. Click any where on the artboard. Do not click and drag. That will change the image size.<br \/>\n<figure id=\"attachment_917\" aria-describedby=\"caption-attachment-917\" style=\"width: 500px\" class=\"wp-caption alignnone\"><img loading=\"lazy\" decoding=\"async\" class=\"size-full wp-image-917\" src=\"https:\/\/pressbooks.bccampus.ca\/designandproductionforpr\/wp-content\/uploads\/sites\/1096\/2017\/06\/ch6fig26.png\" alt=\"Location of linking options for placing documents in Illustrator\u00ae\" width=\"500\" height=\"376\" srcset=\"https:\/\/pressbooks.bccampus.ca\/designandproductionforpr\/wp-content\/uploads\/sites\/1096\/2017\/06\/ch6fig26.png 500w, https:\/\/pressbooks.bccampus.ca\/designandproductionforpr\/wp-content\/uploads\/sites\/1096\/2017\/06\/ch6fig26-300x226.png 300w, https:\/\/pressbooks.bccampus.ca\/designandproductionforpr\/wp-content\/uploads\/sites\/1096\/2017\/06\/ch6fig26-65x49.png 65w, https:\/\/pressbooks.bccampus.ca\/designandproductionforpr\/wp-content\/uploads\/sites\/1096\/2017\/06\/ch6fig26-225x169.png 225w, https:\/\/pressbooks.bccampus.ca\/designandproductionforpr\/wp-content\/uploads\/sites\/1096\/2017\/06\/ch6fig26-350x263.png 350w\" sizes=\"auto, (max-width: 500px) 100vw, 500px\" \/><figcaption id=\"caption-attachment-917\" class=\"wp-caption-text\">Locating and unchecking the Link box. Image:\u00a0<a href=\"http:\/\/wiki.digital-foundations.net\/index.php?title=File:FIg06_Ex5_04_CS6.png\">http:\/\/wiki.digital-foundations.net\/index.php?title=File:FIg06_Ex5_04_CS6.png<\/a><\/figcaption><\/figure>\n<div class=\"textbox\"><strong>Watch Out:<\/strong>\u00a0The &#8220;link&#8221; checkbox in the Place dialog box is used to link (when checked) or embed (when unchecked) the image file in the Illustrator\u00ae document. Linking files can be useful as the images are not actually stored in the Illustrator\u00ae document, so the file size of the Ai document is not affected by large images. However, linked files must remain available on the hard disk or in the folder, in the same relative position as they were when the relationship between the linked image and Illustrator\u00ae file was created in order to view and print the Ai document. For beginning students, it is recommended to embed images, or keep &#8220;Link&#8221; unchecked.<\/div>\n<\/li>\n<li>Double-click the icon in the Layer panel and click on the &#8220;Template&#8221; checkbox. The image will appear dim. Name your layer \u2018background\u2019. Create a new layer above this template layer. Name this \u2018hand\u2019.<br \/>\n<figure id=\"attachment_737\" aria-describedby=\"caption-attachment-737\" style=\"width: 338px\" class=\"wp-caption alignnone\"><img loading=\"lazy\" decoding=\"async\" class=\"size-full wp-image-737\" src=\"https:\/\/pressbooks.bccampus.ca\/designandproductionforpr\/wp-content\/uploads\/sites\/1096\/2020\/08\/ch6fig27-1.png\" alt=\"Layer Options dialog box\" width=\"338\" height=\"277\" \/><figcaption id=\"caption-attachment-737\" class=\"wp-caption-text\">Setting up Layer Options to create a Template layer with the image dimmed to 50%<\/figcaption><\/figure>\n<figure id=\"attachment_738\" aria-describedby=\"caption-attachment-738\" style=\"width: 297px\" class=\"wp-caption alignnone\"><img loading=\"lazy\" decoding=\"async\" class=\"size-full wp-image-738\" src=\"https:\/\/pressbooks.bccampus.ca\/designandproductionforpr\/wp-content\/uploads\/sites\/1096\/2020\/08\/ch6fig28-1.png\" alt=\"Create a New Layer from the Layers panel\" width=\"297\" height=\"247\" \/><figcaption id=\"caption-attachment-738\" class=\"wp-caption-text\">Create a New Layer from the Layers panel<\/figcaption><\/figure>\n<\/li>\n<li>Use the Pen Tool to trace the hand. Remember to start and stop on the same anchor point. Also remember that the path doesn&#8217;t have to be perfect, as the Direct Select tool can be used to modify it once it has been created.<br \/>\n<figure id=\"attachment_739\" aria-describedby=\"caption-attachment-739\" style=\"width: 400px\" class=\"wp-caption alignnone\"><img loading=\"lazy\" decoding=\"async\" class=\"size-full wp-image-739\" src=\"https:\/\/pressbooks.bccampus.ca\/designandproductionforpr\/wp-content\/uploads\/sites\/1096\/2020\/08\/ch6fig29-1.png\" alt=\"Arm that has been outlined with the Pen Tool\" width=\"400\" height=\"148\" \/><figcaption id=\"caption-attachment-739\" class=\"wp-caption-text\">A tracing of the hand and arm using the pen tool<\/figcaption><\/figure>\n<\/li>\n<li>To transform the path into a clipping mask, you will select both the path and the image. First, unlock the background template layer. Next make sure you are on the hand layer. Using the Selection Tool click on the path (around the arm\/hand) then hold SHFT and click on the photograph background somewhere above the arm\/hand selection. You will see anchor points around the path you just plotted and on the four corners of the placed photograph. Choose Object &gt; Clipping Mask &gt; Make.<br \/>\n<figure id=\"attachment_742\" aria-describedby=\"caption-attachment-742\" style=\"width: 400px\" class=\"wp-caption alignnone\"><img loading=\"lazy\" decoding=\"async\" class=\"size-full wp-image-742\" src=\"https:\/\/pressbooks.bccampus.ca\/designandproductionforpr\/wp-content\/uploads\/sites\/1096\/2020\/08\/ch6fig32-1.png\" alt=\"Creating a clipping mask\" width=\"400\" height=\"626\" \/><figcaption id=\"caption-attachment-742\" class=\"wp-caption-text\">Transforming the path into a clipping mask. Main menu &gt; Object &gt; Clipping Mask &gt; Make<\/figcaption><\/figure>\n<p>A clipping mask is used to define the areas that are revealed to the viewer, while any part of the image outside of the path is hidden.<\/p>\n<div class=\"textbox\"><strong>Tip:<\/strong> If you are making a clipping mask, you should have a path that is placed inside the photographic image. That is, the photographic image should be larger than the path that will be used to mask it. If the path is larger than the entire image, the mask will simply reveal everything, in which case you don\u2019t really need a mask.<\/div>\n<div class=\"textbox\"><strong>Tip:<\/strong> Be sure to click on the path, then shift-click the photographic image someplace outside of the path. Shift-clicking inside an area that includes both the path and the image deselects everything!<\/div>\n<\/li>\n<li>Modifying the clipping mask or the image that is masked is possible, as long as you select just one or the other with the Direct Selection Tool. For first time users, this is not always as easy as it sounds. The most fool-proof way to select the mask and not the image is to use the Layer panel. Expand Layer 2 on the Layer panel. Now you have a group that contains the clipping mask and the photographic image. Expand the group so that you can see all of its parts by clicking on the sideways triangle to the left of the word, \u201cGroup\u201d, in the Layer panel. Now you will see the mask and the image.To the right of each path on a layer there is an area where a small colored box appears if that particular path is selected. Clicking on this part of the Layer panel will select a path within the Art Board. Click to create a blue box next to the clipping mask in the Layer panel. You should see the anchor points surrounding the mask within your document. Use the Direct Selection Tool to modify the mask without touching the photographic image.<br \/>\n<figure id=\"attachment_741\" aria-describedby=\"caption-attachment-741\" style=\"width: 715px\" class=\"wp-caption alignnone\"><img loading=\"lazy\" decoding=\"async\" class=\"size-full wp-image-741\" src=\"https:\/\/pressbooks.bccampus.ca\/designandproductionforpr\/wp-content\/uploads\/sites\/1096\/2020\/08\/ch6fig31-1.png\" alt=\"Results of masking and layers\" width=\"715\" height=\"375\" \/><figcaption id=\"caption-attachment-741\" class=\"wp-caption-text\">left: Successful masking of the hand and arm. right: The Layers Panel after clipping has occurred. To open secondary layers, toggle (click on) the gray triangle next to the main layer.<\/figcaption><\/figure>\n<\/li>\n<li>The Selection Tool can be used to move the entire image and mask as one unit, since they are grouped together within the Layer panel. Once a clipping mask has been made, it will remain grouped in the Layer panel unless you release it.Save your file.<\/li>\n<\/ol>\n<p>&nbsp;<\/p>\n<p><strong>READ ONLY, do not complete this step.<\/strong><\/p>\n<p>To delete the clipping mask, you can click on it with the Selection Tool then choose Object &gt; Clipping Mask &gt; Release. Now both the path that was used as the mask and the image are available as two separate objects. They can be deleted or modified as individual objects.<\/p>\n<h3>Attribution<\/h3>\n<p>\u201c<a href=\"http:\/\/digital-foundations.net\/\" target=\"_blank\" rel=\"noopener noreferrer\">Digital Foundations \u2013 Intro to Media Design<\/a>\u201d by\u00a0<a href=\"http:\/\/missconceptions.net\/\" target=\"_blank\" rel=\"noopener noreferrer\">Xtine Burroughs<\/a>\u00a0and\u00a0<a href=\"http:\/\/mandiberg.com\/\" target=\"_blank\" rel=\"noopener noreferrer\">Michael Mandiberg<\/a>\u00a0is licensed under\u00a0<a href=\"https:\/\/creativecommons.org\/licenses\/by-nc-sa\/3.0\/\">CC BY-NC-SA 3.0\u00a0<\/a>\/ This is a derivative from the\u00a0<a href=\"http:\/\/wiki.digital-foundations.net\/index.php?title=Main_Page\">original work<\/a>. Content is available under\u00a0<a href=\"https:\/\/creativecommons.org\/licenses\/by-nc-sa\/3.0\/\">Creative Commons Attribution Non-Commercial Share Alike<\/a>\u00a0unless otherwise noted.<\/p>\n<div class=\"wp-nocaption alignnone wp-image-299 size-full\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone wp-image-299 size-full\" src=\"https:\/\/pressbooks.bccampus.ca\/designandproductionforpr\/wp-content\/uploads\/sites\/1096\/2020\/08\/cc-by-nc-sa-e1497051420987-1.png\" alt=\"Creative Commons icon for BY-NC-SA license\" width=\"125\" height=\"44\" \/><\/div>\n","protected":false},"author":515,"menu_order":5,"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-923","chapter","type-chapter","status-publish","hentry","chapter-type-numberless","contributor-michael-mandiberg","contributor-xtine-burrough","license-cc-by-nc-sa"],"part":883,"_links":{"self":[{"href":"https:\/\/pressbooks.bccampus.ca\/designandproductionforpr\/wp-json\/pressbooks\/v2\/chapters\/923","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\/923\/revisions"}],"predecessor-version":[{"id":924,"href":"https:\/\/pressbooks.bccampus.ca\/designandproductionforpr\/wp-json\/pressbooks\/v2\/chapters\/923\/revisions\/924"}],"part":[{"href":"https:\/\/pressbooks.bccampus.ca\/designandproductionforpr\/wp-json\/pressbooks\/v2\/parts\/883"}],"metadata":[{"href":"https:\/\/pressbooks.bccampus.ca\/designandproductionforpr\/wp-json\/pressbooks\/v2\/chapters\/923\/metadata\/"}],"wp:attachment":[{"href":"https:\/\/pressbooks.bccampus.ca\/designandproductionforpr\/wp-json\/wp\/v2\/media?parent=923"}],"wp:term":[{"taxonomy":"chapter-type","embeddable":true,"href":"https:\/\/pressbooks.bccampus.ca\/designandproductionforpr\/wp-json\/pressbooks\/v2\/chapter-type?post=923"},{"taxonomy":"contributor","embeddable":true,"href":"https:\/\/pressbooks.bccampus.ca\/designandproductionforpr\/wp-json\/wp\/v2\/contributor?post=923"},{"taxonomy":"license","embeddable":true,"href":"https:\/\/pressbooks.bccampus.ca\/designandproductionforpr\/wp-json\/wp\/v2\/license?post=923"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}