home *** CD-ROM | disk | FTP | other *** search
- <?xml version="1.0" encoding="UTF-8" standalone="no"?>
- <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
- <html xmlns="http://www.w3.org/1999/xhtml">
- <head>
- <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
- <title>10.21.  Add Layer Mask</title>
- <link rel="stylesheet" href="gimp-help-plain.css" type="text/css" />
- <link rel="stylesheet" href="gimp-help-screen.css" type="text/css" />
- <link rel="stylesheet" href="gimp-help-custom.css" type="text/css" />
- <link rel="alternate stylesheet" href="gimp22.css" type="text/css" title="gimp22" />
- <meta name="generator" content="DocBook XSL Stylesheets V1.73.2" />
- <link rel="start" href="index.html" title="GNU Image Manipulation Program" />
- <link rel="up" href="gimp-layer-menu.html" title="10.  The “Layers” Menu" />
- <link rel="prev" href="gimp-layer-mask-menu.html" title="10.20.  The “Mask” Submenu" />
- <link rel="next" href="gimp-layer-mask-apply.html" title="10.22.  Apply Layer Mask" />
- </head>
- <body>
- <div class="navheader">
- <table width="100%" summary="Navigation header">
- <tr>
- <th colspan="3" align="center">10.21. 
- <span lang="en" xml:lang="en">Add Layer Mask</span>
- </th>
- </tr>
- <tr>
- <td width="20%" align="left"><a accesskey="p" href="gimp-layer-mask-menu.html"><img src="../images/prev.png" alt="Prev" /></a> </td>
- <th width="60%" align="center">10. 
- <span lang="en" xml:lang="en">The “<span class="quote">Layers</span>” Menu</span>
- </th>
- <td width="20%" align="right"> <a accesskey="n" href="gimp-layer-mask-apply.html"><img src="../images/next.png" alt="Next" /></a></td>
- </tr>
- </table>
- <hr />
- </div>
- <div class="sect2" lang="en" xml:lang="en">
- <div class="titlepage">
- <div>
- <div>
- <h3 class="title"><a id="gimp-layer-mask-add"></a>10.21. 
- <span lang="en" xml:lang="en">Add Layer Mask</span>
- </h3>
- </div>
- <div>
- <div class="revhistory">
- <table border="1" width="100%" summary="Revision history">
- <tr>
- <th align="left" valign="top" colspan="3">
- <b>Revision History</b>
- </th>
- </tr>
- <tr>
- <td align="left">Revision $Revision: 2424 $</td>
- <td align="left">2007-09-30</td>
- <td align="left">scb</td>
- </tr>
- </table>
- </div>
- </div>
- </div>
- </div>
- <a id="id2708404" class="indexterm"></a>
- <a id="id2708422" class="indexterm"></a>
- <a id="id2708440" class="indexterm"></a>
- <p>
- The <span class="guimenuitem">Add Layer Mask</span> command adds a layer mask
- to the active layer. It displays a dialog in which you can set the
- initial properties of the mask. If the layer already has a layer mask,
- or if it cannot have one because it does not have an alpha channel, the
- menu entry is insensitive and grayed out.
- </p>
- <p>
- A layer mask lets you define which parts of the layer are opaque,
- semi-transparent or transparent.
- See the <a class="link" href="gimp-dialogs-structure.html#gimp-layer-mask" title="2.1.3.  Layer masks">Layer Mask</a>
- section for more information.
- </p>
- <div class="sect3" lang="en" xml:lang="en">
- <div class="titlepage">
- <div>
- <div>
- <h4 class="title"><a id="id2708481"></a>10.21.1. 
- <span lang="en" xml:lang="en">Activating the Command</span>
- </h4>
- </div>
- </div>
- </div>
- <div class="itemizedlist">
- <ul type="disc">
- <li>
- <p>
- You can access this command from the image menubar through
- <span class="guimenu"><span class="accel">L</span>ayer</span> ‚Üí <span class="guisubmenu"><span class="accel">M</span>ask</span> ‚Üí <span class="guimenuitem">Add La<span class="accel">y</span>er Mask</span>
- </p>
- </li>
- <li>
- <p>
- or from the pop-up menu you get by right-clicking on the active
- layer in the Layers Dialog.
- </p>
- </li>
- </ul>
- </div>
- </div>
- <div class="sect3" lang="en" xml:lang="en">
- <div class="titlepage">
- <div>
- <div>
- <h4 class="title"><a id="id2708547"></a>10.21.2. 
- <span lang="en" xml:lang="en">
- Description of the “<span class="quote">Add Layer Mask</span>” Dialog
- </span>
- </h4>
- </div>
- </div>
- </div>
- <div class="figure">
- <a id="id2708561"></a>
- <p class="title">
- <b>Figure 15.113. 
- <span lang="en" xml:lang="en">
- The “<span class="quote">Add Layer Mask</span>” dialog
- </span>
- </b>
- </p>
- <div class="figure-contents">
- <div class="mediaobject">
- <img src="../images/dialogs/layer-mask-add.png" alt="The Add Layer Mask dialog" />
- </div>
- </div>
- </div>
- <br class="figure-break" />
- <div class="variablelist">
- <dl>
- <dt>
- <span class="term">Initialize Layer Mask to</span>
- </dt>
- <dd>
- <p>
- This dialog allows you several choices for the initial contents of
- the layer mask:
- </p>
- <div class="variablelist">
- <dl>
- <dt>
- <span class="term">White (full opacity)</span>
- </dt>
- <dd>
- <p>
- With this option, the layer mask will make all of the
- layer fully opaque. That means that you will not
- notice any difference in the appearance of the layer
- until you paint on the layer mask.
- </p>
- </dd>
- <dt>
- <span class="term">Black (full transparency)</span>
- </dt>
- <dd>
- <p>
- With this option, the layer mask will make all of the
- layer fully transparent. This is represented in the image
- by a checkered pattern on which you will need to paint
- to make any part of the layer visible.
- </p>
- </dd>
- <dt>
- <span class="term">Layer's alpha channel</span>
- </dt>
- <dd>
- <p>
- With this option, the contents of the alpha channel
- are used to fill the layer mask. The alpha channel
- itself is not altered, so the transparency of
- partially visible areas is increased, leading to
- a more transparent layer.
- </p>
- </dd>
- <dt>
- <span class="term">Transfer layer's alpha channel</span>
- </dt>
- <dd>
- <p>
- This option sets the layer mask as the previous
- option, but resets the layer's alpha channel to full
- opacity afterwards. The effect is to transfer the
- transparency information from the alpha channel to the
- layer mask, leaving the layer with the same appearance
- as before. The visibility of the layer is now
- determined by the layer mask alone and not by the
- alpha channel. If in doubt, select this option instead
- of “<span class="quote">Layer's alpha channel</span>”, because it will
- leave the appearance unaltered.
- </p>
- </dd>
- <dt>
- <span class="term">Selection</span>
- </dt>
- <dd>
- <p>
- This option converts the current selection into a layer
- mask, so that selected areas are opaque, and unselected
- areas are transparent. If any areas are partially
- selected, you can click on the
- <a class="link" href="gimp-image-window-qmask-button.html" title="3.  QuickMask">QuickMask
- button</a> to help you predict what the effects will be.
- </p>
- </dd>
- <dt>
- <span class="term">Grayscale copy of layer</span>
- </dt>
- <dd>
- <p>
- This option converts the layer itself into a layer mask.
- It is particularly useful when you plan to add new
- contents to the layer afterwards.
- </p>
- </dd>
- <dt>
- <span class="term">Channel</span>
- </dt>
- <dd>
- <p>
- With this option the layer mask is initialized with a
- selection mask you have created before, stored in the
- Channel dialog.
- </p>
- </dd>
- </dl>
- </div>
- </dd>
- <dt>
- <span class="term">Invert Mask</span>
- </dt>
- <dd>
- <p>
- If you check the <span class="guilabel">Invert Mask</span> box at the
- bottom of the dialog, the resulting mask is inverted, so that
- transparent areas become opaque and vice versa.
- </p>
- </dd>
- </dl>
- </div>
- <p>
- When you click on the <span class="guibutton">OK</span> button, a thumbnail
- of the layer mask appears to the right of the thumbnail of the layer
- in the Layers Dialog.
- </p>
- </div>
- </div>
- <div class="navfooter">
- <hr />
- <table width="100%" summary="Navigation footer">
- <tr>
- <td width="40%" align="left"><a accesskey="p" href="gimp-layer-mask-menu.html"><img src="../images/prev.png" alt="Prev" /></a> </td>
- <td width="20%" align="center">
- <a accesskey="u" href="gimp-layer-menu.html">
- <img src="../images/up.png" alt="Up" />
- </a>
- </td>
- <td width="40%" align="right"> <a accesskey="n" href="gimp-layer-mask-apply.html"><img src="../images/next.png" alt="Next" /></a></td>
- </tr>
- <tr>
- <td width="40%" align="left" valign="top"><a accesskey="p" href="gimp-layer-mask-menu.html">10.20. 
- <span lang="en" xml:lang="en">The “<span class="quote">Mask</span>” Submenu</span>
- </a> </td>
- <td width="20%" align="center">
- <a accesskey="h" href="index.html">
- <img src="../images/home.png" alt="Home" />
- </a>
- </td>
- <td width="40%" align="right" valign="top"> <a accesskey="n" href="gimp-layer-mask-apply.html">10.22. 
- <span lang="en" xml:lang="en">Apply Layer Mask</span>
- </a></td>
- </tr>
- </table>
- </div>
- </body>
- </html>
-