mirror of https://github.com/GNOME/gimp.git
215 lines
3.8 KiB
HTML
215 lines
3.8 KiB
HTML
<HTML
|
|
><HEAD
|
|
><TITLE
|
|
>Add Layer Mask</TITLE
|
|
><META
|
|
NAME="GENERATOR"
|
|
CONTENT="Modular DocBook HTML Stylesheet Version 1.49"><LINK
|
|
REL="HOME"
|
|
TITLE="GIMP User Manual"
|
|
HREF="../../contents.html"><LINK
|
|
REL="UP"
|
|
TITLE="Layers"
|
|
HREF="../../layers/index.html"><LINK
|
|
REL="PREVIOUS"
|
|
TITLE="Flatten Image"
|
|
HREF="../../layers/flatten_image.html"><LINK
|
|
REL="NEXT"
|
|
TITLE="Apply Layer Mask"
|
|
HREF="../../layers/apply_mask.html"></HEAD
|
|
><BODY
|
|
CLASS="SECT1"
|
|
BGCOLOR="#FFFFFF"
|
|
TEXT="#000000"
|
|
><DIV
|
|
CLASS="NAVHEADER"
|
|
><TABLE
|
|
WIDTH="100%"
|
|
BORDER="0"
|
|
CELLPADDING="0"
|
|
CELLSPACING="0"
|
|
><TR
|
|
><TH
|
|
COLSPAN="3"
|
|
ALIGN="center"
|
|
>GIMP User Manual</TH
|
|
></TR
|
|
><TR
|
|
><TD
|
|
WIDTH="10%"
|
|
ALIGN="left"
|
|
VALIGN="bottom"
|
|
><A
|
|
HREF="../../layers/flatten_image.html"
|
|
>Prev</A
|
|
></TD
|
|
><TD
|
|
WIDTH="80%"
|
|
ALIGN="center"
|
|
VALIGN="bottom"
|
|
>Chapter 5. Layers</TD
|
|
><TD
|
|
WIDTH="10%"
|
|
ALIGN="right"
|
|
VALIGN="bottom"
|
|
><A
|
|
HREF="../../layers/apply_mask.html"
|
|
>Next</A
|
|
></TD
|
|
></TR
|
|
></TABLE
|
|
><HR
|
|
ALIGN="LEFT"
|
|
WIDTH="100%"></DIV
|
|
><DIV
|
|
CLASS="SECT1"
|
|
><H1
|
|
CLASS="SECT1"
|
|
><A
|
|
NAME="DIALOGS-LAYERS-ADD-LAYER-MASK"
|
|
>Add Layer Mask</A
|
|
></H1
|
|
><A
|
|
NAME="AEN1741"
|
|
></A
|
|
><A
|
|
NAME="AEN1743"
|
|
></A
|
|
><P
|
|
> Will add a layer mask to the currently active layer. A layer mask
|
|
is a one to control the transparency of the current layer . The
|
|
mask itself is a grayscale "image" where black pixels will make
|
|
the layer totally transparent and white pixels will make it
|
|
opaque.
|
|
</P
|
|
><DIV
|
|
CLASS="NOTE"
|
|
><P
|
|
></P
|
|
><TABLE
|
|
CLASS="NOTE"
|
|
WIDTH="100%"
|
|
BORDER="0"
|
|
><TR
|
|
><TD
|
|
WIDTH="25"
|
|
ALIGN="CENTER"
|
|
VALIGN="TOP"
|
|
><IMG
|
|
SRC="../../../images/note.gif"
|
|
HSPACE="5"
|
|
ALT="Note"></TD
|
|
><TD
|
|
ALIGN="LEFT"
|
|
VALIGN="TOP"
|
|
><P
|
|
> Adding a mask to a layer has the same effect like if you could
|
|
add a second <A
|
|
HREF="../../layers/add_alpha_channel.html"
|
|
>Alpha
|
|
Channel</A
|
|
> for that Layer. In fact, both are applied to the
|
|
layer in the same way, first Alpha, then Mask.
|
|
</P
|
|
></TD
|
|
></TR
|
|
></TABLE
|
|
></DIV
|
|
><P
|
|
> The <SPAN
|
|
CLASS="QUOTE"
|
|
>"Fill"</SPAN
|
|
> frame enables you to choose the initial
|
|
fill of the layer mask. Black which will make the layer totally
|
|
transparent, White which will make the layer totally opace or the
|
|
alpha channel of the layer. When you choose the alpha channel the
|
|
transparency of each pixels will be mapped to a grayscale value in
|
|
the mask. If you want to further manipulate the transparency in a
|
|
layer this can be a very good option (e.g. maybe you have softly
|
|
erased some parts of the image and want to continue to manipulate
|
|
the transparency).
|
|
</P
|
|
><P
|
|
> To paint on the layer mask you have to activate it, you do that by
|
|
clicking on the thumbnail image of the mask. However you will not
|
|
see the mask, you will just see the result of your mask applied to
|
|
the layer. To see the mask you have to
|
|
<B
|
|
CLASS="KEYCAP"
|
|
>Alt</B
|
|
>-<SPAN
|
|
CLASS="MOUSEBUTTON"
|
|
>click</SPAN
|
|
> on the thumbnail. If
|
|
you want to see you layer without the mask applied,
|
|
<B
|
|
CLASS="KEYCAP"
|
|
>Ctrl</B
|
|
>-<SPAN
|
|
CLASS="MOUSEBUTTON"
|
|
>click</SPAN
|
|
> on the mask
|
|
thumbnail. Remember to click once again with the same modifier
|
|
key to exit the current "preview" state.
|
|
</P
|
|
></DIV
|
|
><DIV
|
|
CLASS="NAVFOOTER"
|
|
><HR
|
|
ALIGN="LEFT"
|
|
WIDTH="100%"><TABLE
|
|
WIDTH="100%"
|
|
BORDER="0"
|
|
CELLPADDING="0"
|
|
CELLSPACING="0"
|
|
><TR
|
|
><TD
|
|
WIDTH="33%"
|
|
ALIGN="left"
|
|
VALIGN="top"
|
|
><A
|
|
HREF="../../layers/flatten_image.html"
|
|
>Prev</A
|
|
></TD
|
|
><TD
|
|
WIDTH="34%"
|
|
ALIGN="center"
|
|
VALIGN="top"
|
|
><A
|
|
HREF="../../contents.html"
|
|
>Home</A
|
|
></TD
|
|
><TD
|
|
WIDTH="33%"
|
|
ALIGN="right"
|
|
VALIGN="top"
|
|
><A
|
|
HREF="../../layers/apply_mask.html"
|
|
>Next</A
|
|
></TD
|
|
></TR
|
|
><TR
|
|
><TD
|
|
WIDTH="33%"
|
|
ALIGN="left"
|
|
VALIGN="top"
|
|
>Flatten Image</TD
|
|
><TD
|
|
WIDTH="34%"
|
|
ALIGN="center"
|
|
VALIGN="top"
|
|
><A
|
|
HREF="../../layers/index.html"
|
|
>Up</A
|
|
></TD
|
|
><TD
|
|
WIDTH="33%"
|
|
ALIGN="right"
|
|
VALIGN="top"
|
|
>Apply Layer Mask</TD
|
|
></TR
|
|
></TABLE
|
|
></DIV
|
|
></BODY
|
|
></HTML
|
|
> |