1
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
2
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
3
<html xmlns="http://www.w3.org/1999/xhtml">
5
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
6
<title>3.4. Selection masks</title>
7
<link rel="stylesheet" href="gimp-help-plain.css" type="text/css" />
8
<link rel="stylesheet" href="gimp-help-screen.css" type="text/css" />
9
<meta name="generator" content="DocBook XSL Stylesheets V1.66.1" />
10
<link rel="start" href="index.html" title=" " />
11
<link rel="up" href="ch04s03.html" title="3. Channels dialog" />
12
<link rel="prev" href="ch04s03s03.html" title="3.3. Channels Menu" />
13
<link rel="next" href="ch04s03s05.html" title="3.5. Quick Mask" />
16
<div xmlns="" class="navheader">
17
<table width="100%" summary="Navigation header">
19
<th colspan="3" align="center" id="chaptername">3.4. Selection masks</th>
22
<td width="20%" align="left"><a accesskey="p" href="ch04s03s03.html">Prev</a> </td>
23
<th width="60%" align="center" id="sectionname">3.4. Selection masks</th>
24
<td width="20%" align="right"> <a accesskey="n" href="ch04s03s05.html">Next</a></td>
29
<div class="sect2" lang="en" xml:lang="en">
30
<div class="titlepage">
33
<h3 class="title"><a id="dialogs-selection-masks"></a>3.4. Selection masks</h3>
37
<div class="mediaobject">
38
<img src="../images/dialogs/dialogs-channel-masks.png" />
41
Channels can be used to save and restore your selections. Clicking
42
on the <span class="guilabel">Quick mask</span> button on the <a href="ch02s03s03.html" title="3.3. Image Window">Image window</a> automatically
43
creates a new channel called <span class="guilabel">Qmask</span> and saves the
44
displayed active selection to a thumbail in front of the
45
channel.There are many selection tools in the Gimp like rectangular
46
selection tool or fuzzy selection for continuous selections.
47
Selection Masks are a graphical way to build selections into a gray
48
level channel where white pixels are selected and black pixels are
49
not selected. Therefore gray pixels are partially selected. You can
50
think of them as feathering the selection, a smooth transition
51
between selected and not selected. This is important to avoid the
52
ugly pixelization effect when you fill the selection or when you
53
erase its content after isolating a subject from background.
55
<div class="variablelist">
58
<span class="term">Creating Selection Masks</span>
62
There are several ways to initialize a selection mask. From the
64
<span class="guimenuitem"><span class="accel">S</span>elect</span>/
65
<span class="guimenuitem">Save to <span class="accel">C</span>hannel</span> is
66
available if there is an active selection. From the image window
67
the bottom-left button creates a <a href="ch04s03s05.html" title="3.5. Quick Mask">Quick
68
Mask</a>; the content will be initialized with the active
69
selection. From the channel dialog, when you click on the
70
<span class="guilabel">New channel</span> button or from the context menu.
75
<div class="simplesect" lang="en" xml:lang="en">
76
<div class="titlepage">
79
<h4 class="title"><a id="id3334113"></a>Using Selectionmasks</h4>
84
Once the channel is initialized, selected (highlighted in blue),
85
visible (eye-icon in the dialog), and displayed as you want
86
(color and opacity attributes), you can start to work with all
87
the paint tools. The colors used are important. If you paint
88
with some color other than white, grey, or black, the color Value
89
(luminosity) will be used to define a gray (medium, light, or
90
dark). When your mask is painted, you can transform it to a
91
selection by clicking on the <span class="guilabel">Channel to
92
selection</span> button or from the context menu.
94
<div class="tip" style="margin-left: 0.5in; margin-right: 0.5in;">
95
<table border="0" summary="Tip">
97
<td rowspan="2" align="center" valign="top" width="25">
98
<img alt="[Tip]" src="../images/tip.png" />
100
<th align="left">Tip</th>
103
<td colspan="2" align="left" valign="top">
105
You can work in selection masks not only with the paint tool
106
but also with other tools. For instance, you can use the
107
selection tools to fill areas uniformly with gradients or
108
patterns. By adding many selection masks in your list you can
109
easily compose very complex selections. One can say that a
110
selection mask is to a selection as a layer is to an image.
116
<div class="caution" style="margin-left: 0.5in; margin-right: 0.5in;">
117
<table border="0" summary="Caution">
119
<td rowspan="2" align="center" valign="top" width="25">
120
<img alt="[Caution]" src="../images/caution.png" />
122
<th align="left">Caution</th>
125
<td colspan="2" align="left" valign="top">
127
As long as a selection mask is activated you are working in the
128
mask and not in the image. To work in the image you have to
129
deactivate all selection masks. Don't forget also to stop
130
displaying masks in the image by removing the eye icon. Check
131
also that all RGB and Alpha channels are activated and
132
displayed in the image.
140
<div class="navfooter">
142
<table width="100%" summary="Navigation footer">
144
<td width="40%" align="left"><a accesskey="p" href="ch04s03s03.html">Prev</a> </td>
145
<td width="20%" align="center">
146
<a accesskey="u" href="ch04s03.html">Up</a>
148
<td width="40%" align="right"> <a accesskey="n" href="ch04s03s05.html">Next</a></td>
151
<td width="40%" align="left" valign="top">3.3. Channels Menu </td>
152
<td width="20%" align="center">
153
<a accesskey="h" href="index.html">Home</a>
155
<td width="40%" align="right" valign="top"> 3.5. Quick Mask</td>