File: modes.html

package info (click to toggle)
gimp-manual 1.0.0-5
  • links: PTS
  • area: main
  • in suites: woody
  • size: 19,112 kB
  • ctags: 11,163
  • sloc: makefile: 29; sh: 14
file content (436 lines) | stat: -rw-r--r-- 30,919 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">

<!-- Generated by fmtoweb (v. 2.9c) by Peter G. Martin -->
<HTML>
<HEAD><title>GUM v.1.0.0</title></HEAD><BODY TEXT="#000000" BGCOLOR="#FFFFFF" LINK="#0000EE" VLINK="#551A8B" ALINK="#FF0000">
<body>
<A HREF="Selection_menu.html"><IMG ALIGN = BOTTOM SRC = "prev.gif" ALT="Previous"></A>
<A HREF="layers.html"><IMG ALIGN = BOTTOM SRC = "next.gif" ALT="Next"></A>
<A HREF="index2.html"><IMG ALIGN=BOTTOM SRC = "toc.gif" ALT="TOC"></A>
<A HREF="GimpmanualIX.html"><IMG ALIGN = BOTTOM SRC = "index.gif" ALT="Index"></A>
<A HREF="webfeedback.html"><IMG ALIGN = BOTTOM SRC = "feedback.gif" ALT="Feedback"></A><P>

<center><h1>GUM v.1.0.0</h1></center>
<hr>

<A name="914052"><!-- 914052 --></A>
<P>

<A name="914076"><!-- 914076 --></A>


<A name="913144"><!-- 913144 --></A>
<H1>16&nbsp;</H1>

<A name="914119"><!-- 914119 --></A>
<H1>Modes</H1>

<A name="913282"><!-- 913282 --></A>
<EM>Modes is a powerful instrument for applying Layers and Paint. There are fourteen different ways of combining layers, and they're all very useful. If you learn how to use Modes, you've learned a lot about computer graphics.</EM><br>

<A name="913283"><!-- 913283 --></A>

<A name="914168"><!-- 914168 --></A>

<A name="914169"><!-- 914169 --></A>
<H2><a NAME="modes.what.is"><!--marker modes.what.is --></a>
<a NAME="what.is.modes"><!--marker what.is.modes --></a>
What is modes</H2>

<A name="913284"><!-- 913284 --></A>
<P><EM>Blending</EM> modes or <EM>Transfer</EM> modes can be described as different ways of controlling how the pixels in a foreground layer blend into the background layer(s). Modes is mainly used with layers, but they can also be used more directly as paint modes with the <EM>Paint bucket</EM>, the <EM>Blend tool</EM> or any tool which uses <EM>Brush Selection</EM>. There are 15 different modes in Gimp; </P>

<A name="446071"><!-- 446071 --></A>

<UL>
<!--L1Bullet--><LI><EM>Normal </EM><!--L1Bullet--></LI>

<A name="446056"><!-- 446056 --></A>
<!--L1Bullet--><LI><EM>Dissolve </EM><!--L1Bullet--></LI>

<A name="446079"><!-- 446079 --></A>
<!--L1Bullet--><LI><EM>Multiply </EM><!--L1Bullet--></LI>

<A name="446082"><!-- 446082 --></A>
<!--L1Bullet--><LI><EM>Screen </EM><!--L1Bullet--></LI>

<A name="446059"><!-- 446059 --></A>
<!--L1Bullet--><LI><EM>Overlay </EM><!--L1Bullet--></LI>

<A name="446060"><!-- 446060 --></A>
<!--L1Bullet--><LI><EM>Difference </EM><!--L1Bullet--></LI>

<A name="446061"><!-- 446061 --></A>
<!--L1Bullet--><LI><EM>Addition </EM><!--L1Bullet--></LI>

<A name="446085"><!-- 446085 --></A>
<!--L1Bullet--><LI><EM>Subtract </EM><!--L1Bullet--></LI>

<A name="446063"><!-- 446063 --></A>
<!--L1Bullet--><LI><EM>Darken Only </EM><!--L1Bullet--></LI>

<A name="446064"><!-- 446064 --></A>
<!--L1Bullet--><LI><EM>Lighten Only </EM><!--L1Bullet--></LI>

<A name="446065"><!-- 446065 --></A>
<!--L1Bullet--><LI><EM>Hue</EM><!--L1Bullet--></LI>

<A name="446088"><!-- 446088 --></A>
<!--L1Bullet--><LI><EM>Saturation </EM><!--L1Bullet--></LI>

<A name="446091"><!-- 446091 --></A>
<!--L1Bullet--><LI><EM>Color </EM><!--L1Bullet--></LI>

<A name="446094"><!-- 446094 --></A>
<!--L1Bullet--><LI><EM>Value</EM><!--L1Bullet--></LI>

<A name="446558"><!-- 446558 --></A>
<!--L1Bullet--><LI><EM>Behind </EM><EM>(not available for Layers Mode)</EM><!--L1Bullet--></LI>

<A name="446095"><!-- 446095 --></A>

</UL>

<A name="914170"><!-- 914170 --></A>

<A name="914171"><!-- 914171 --></A>
<H3> <a NAME="mode.normal"><!--marker mode.normal --></a>
<a NAME="normal.mode"><!--marker normal.mode --></a>
Normal Mode</H3>

<A name="446097"><!-- 446097 --></A>
<P><BR><IMG SRC="modes-image-1.jpeg" ALT="Extracted pic [1]">
<EM>Normal Mode</EM> doesn't do anything special, as you might expect. The normal mode layer covers all other layers, unless there are<EM> transparent</EM> or <EM>semi-transparent </EM>areas in it.</P>

<A name="914128"><!-- 914128 --></A>
<P>

<A name="914129"><!-- 914129 --></A>
<P>

<A name="446448"><!-- 446448 --></A>

<A name="914172"><!-- 914172 --></A>

<A name="914173"><!-- 914173 --></A>
<H3><a NAME="mode.dissolve"><!--marker mode.dissolve --></a>
<a NAME="dissolve.mode"><!--marker dissolve.mode --></a>
Dissolve Mode</H3>

<A name="446104"><!-- 446104 --></A>
<P><BR><IMG SRC="modes-image-2.jpeg" ALT="Extracted pic [2]">
<EM>Dissolve Mode</EM> is actually very similar to Normal Mode. You must move the <EM>Opacity </EM>slide bar and make the layer or paint transparent to be able to see the effect. When in Normal Mode at 50% opacity, you'll see a smooth semi-transparent surface, Dissolve Mode will produce a <EM>dotty, grainy looking surface</EM>. Instead of using semi-transparent pixels, Dissolve Mode produces <EM>entirely opaque</EM> or <EM>entirely transparent</EM> pixels, 50% of each (if that's the opacity value). This mode creates noise effects similar to grainy film or granite rock. If you want a transparent GIF to look semi -transparent, using Dissolve mode (or Holes in the Image/Alpha menu) is the only way you can achieve something of the kind. As you may know, GIF:s only go two ways - transparent or non-transparent pixels. However, this isn't a great solution. Most likely, your semi-transparent surface (glowing text for example), will look much better with a solid background, if you index it to match the background on your page. <STRONG>Conclusion: This mode is used with semi-transparency, where it divides pixels into wholly transparent or fully solid, according to the level of transparency.</STRONG></P>

<A name="446797"><!-- 446797 --></A>
<P>

<A name="446130"><!-- 446130 --></A>

<A name="914174"><!-- 914174 --></A>

<A name="914175"><!-- 914175 --></A>
<H4><a NAME="mode.multiply"><!--marker mode.multiply --></a>
<a NAME="multiply.mode"><!--marker multiply.mode --></a>
Multiply Mode</H4>

<A name="446132"><!-- 446132 --></A>
<P><BR><IMG SRC="modes-image-3.jpeg" ALT="Extracted pic [3]">
<EM>Multiply Mode</EM> amplifies <EM>shadows </EM>or dark areas of the image. Multiply is the mode for creating shadows. You may compare it to putting two <EM>slides </EM>on top of each other on a fluorescent clipping board. As in a slide, white areas are transparent in this mode, and as putting together two slides would - the result is always darker. As to colors, they also react as layers of colored glass (or if you prefer, CMYK color, yellow+magenta=red). The difference between Multiply and Darken Only will be discussed later in this chapter.<STRONG> Conclusion: This mode works with shadow, much like putting two slides on top of each other.</STRONG></P>

<A name="446796"><!-- 446796 --></A>
<P>

<A name="446143"><!-- 446143 --></A>

<A name="914176"><!-- 914176 --></A>

<A name="914177"><!-- 914177 --></A>
<H4><a NAME="mode.screen"><!--marker mode.screen --></a>
<a NAME="sceen.mode"><!--marker sceen.mode --></a>
Screen Mode</H4>

<A name="446145"><!-- 446145 --></A>
<P><BR><IMG SRC="modes-image-4.jpeg" ALT="Extracted pic [4]">
<EM>Screen</EM> is the mode for creating <EM>highlights</EM> in an image, and is in many ways the opposite of <EM>Multiply</EM>. You may compare it to <EM>projecting</EM> two slides on a film screen. As you may have understood, this mode depends on light, so black is transparent (just like a black spot on one slide will allow the image on the other slide to show) and<EM> the result is always lighter</EM>. Accordingly, the darker a layer is, the less it will affect the composite image and vice versa. In Screen mode, white covers all, gray shades get more transparent the darker they get, and color is only visible if the other layer's color permits it. (Now we are talking RGB color, yellow + magenta = white, just as on your computer monitor or television set). For more information on Screen mode, read about the difference between Screen, Addition and Lighten Only further on in this chapter. <STRONG>Conclusion: This mode works with light, much like projecting two slides on the same screen.</STRONG></P>

<A name="446806"><!-- 446806 --></A>
<P>

<A name="446171"><!-- 446171 --></A>

<A name="914178"><!-- 914178 --></A>

<A name="914179"><!-- 914179 --></A>
<H3> <a NAME="mode.overlay"><!--marker mode.overlay --></a>
<a NAME="overlay.mode"><!--marker overlay.mode --></a>
Overlay Mode</H3>

<A name="446707"><!-- 446707 --></A>
<P><BR><IMG SRC="modes-image-5.jpeg" ALT="Extracted pic [5]">
<EM>Overlay Mode</EM> is something of a combination of <EM>Screen </EM>and <EM>Multiply</EM>. Medium gray is transparent in this mode. The background is the most important layer; the overlay layer is only used for modifying the background. Light and dark areas in the foreground affect the background by intensifying <EM>highlights</EM>, <EM>color</EM> or <EM>shadows</EM>, so white, black or RGB/CMY parts of the background are not affected <EM>(you can't intensify the shadow of black, highlight white areas or intensify a color with maximum color value)</EM>. In this mode all FG colors appear in a paler, more washed-out shade. Overlay color and saturation depend mostly on the background. You can say that the foreground intensifies or modifies the background color; a green FG on a green BG makes the image a bit greener, while a red FG makes the green color slightly less green. Overlay Mode is good for adding shadows and highlights to an image, or changing the color temperature. What it really does is to add information to the existing (brightness) Value in your image, so you can"paint with light". Hue and Saturation are also changed, but add no more than a cold shadow or reddish sunlight would. <STRONG>Conclusion: The Foreground affects the dominating Background by intensifying color, highlights or shadows.</STRONG></P>

<A name="446260"><!-- 446260 --></A>

<A name="914180"><!-- 914180 --></A>

<A name="914181"><!-- 914181 --></A>
<H3><a NAME="mode.difference"><!--marker mode.difference --></a>
<a NAME="difference.mode"><!--marker difference.mode --></a>
Difference Mode</H3>

<A name="446262"><!-- 446262 --></A>
<P><BR><IMG SRC="modes-image-6.jpeg" ALT="Extracted pic [6]">
In <EM>Difference Mode</EM>, foreground and background pixels have a dramatic effect on each other. Black pixels in either FG or BG are transparent, but as color gets brighter, the effect increases, white being the most powerful difference color (a white pixel always <EM>inverts</EM> the correspondent pixel). What Difference mode does, is to evaluate corresponding pixels in both FG and BG and calculate the difference between them. Now, if we're talking of grayscale pixels in one of the layers, it's easy to predict the outcome. If for example the foreground pixel is brighter than the one in the BG layer, the background pixel gets inverted, and if it's darker, it keeps its color. A greyish cast is however added to the image - the more the grayscale pixel goes toward white or black, the weaker this shade of gray gets. If the pixels are colored or grayscale in both layers, the result is harder to predict, but it works the same way; |FG-BG|=Outcome i.e the absolute value of the difference between FG and BG, <EM>(you count with negative values and dismiss the minus character). </EM></P>

<A name="446640"><!-- 446640 --></A>
<P>Difference mode is usually very <EM>colorful</EM>, and can produce psychedelic results, but it is also a powerful tool for telling the <EM>difference</EM> between two layers. This becomes interesting when you for example want to compare the size, shape and relative position of grayscale masks in different layers. Where the result is black, the layers are identical, and any small difference will appear very clearly in this mode. <STRONG>Conclusion: This mode displays the difference between the RGB-values in the two layers.</STRONG></P>

<A name="446464"><!-- 446464 --></A>

<A name="914182"><!-- 914182 --></A>

<A name="914183"><!-- 914183 --></A>
<H3><a NAME="mode.addition"><!--marker mode.addition --></a>
<a NAME="addition.mode"><!--marker addition.mode --></a>
Addition Mode</H3>

<A name="446611"><!-- 446611 --></A>
<P><BR><IMG SRC="modes-image-7.jpeg" ALT="Extracted pic [7]">
<EM>Addition Mode</EM> is rather similar to <EM>Screen Mode</EM>, and is built on the simple principle of adding the RGB values of foreground and background pixels. The result is always lighter and often results in white areas and unsharp edges. <STRONG>Conclusion: This mode adds the foreground RGB-value to the background RGB-value.</STRONG></P>

<A name="914139"><!-- 914139 --></A>
<P>

<A name="446320"><!-- 446320 --></A>

<A name="914184"><!-- 914184 --></A>

<A name="914185"><!-- 914185 --></A>
<H3><a NAME="mode.subtraction"><!--marker mode.subtraction --></a>
<a NAME="subtraction.mode"><!--marker subtraction.mode --></a>
Subtraction Mode</H3>

<A name="446607"><!-- 446607 --></A>
<P><BR><IMG SRC="modes-image-8.jpeg" ALT="Extracted pic [8]">
<EM>Subtraction Mode</EM> is the opposite of Addition, and sometimes produce results similar to <EM>Difference</EM>. Here you <EM>subtract</EM> the foreground color from the background color - If your background is White (255,255,255), and you subtract Red (255,0,0), the result is (0,255,255) which is Cyan. A white shape in the upper layer against a white background will for the same reason produce a black shape. So far the result is the same as for Difference, but as soon as a foreground value exceeds the background value, the results start to diverge, since what is zero for Subtract becomes a"negative" value for Difference.<STRONG> Conclusion: This mode subtracts the foreground RGB-value from the background RGB-value.</STRONG></P>

<A name="446471"><!-- 446471 --></A>

<A name="914186"><!-- 914186 --></A>

<A name="914187"><!-- 914187 --></A>
<H3><a NAME="mode.darken"><!--marker mode.darken --></a>
<a NAME="darken.mode"><!--marker darken.mode --></a>
Darken only</H3>

<A name="446603"><!-- 446603 --></A>
<P><BR><IMG SRC="modes-image-9.jpeg" ALT="Extracted pic [9]">
<EM>Darken only</EM> is somewhat similar to <EM>Multiply</EM>. It is a mode where color can only get darker, but Darken doesn't work like two slides on top of each other. Here foreground and background pixels are compared, and Darken chooses the <EM>darkest</EM> RGB values in each channel. The result of choosing between a bright red (243,83,47) and a turquoise blue (47,239,201) would be: (47,83,47) - a dark moss green. Had you used Multiply instead, you would have gotten a similar but somewhat darker color (44,77,37) <STRONG>Conclusion: This mode compares the pixels of foreground and background and chooses the lowest RGB-value.</STRONG></P>

<A name="446475"><!-- 446475 --></A>

<A name="914188"><!-- 914188 --></A>

<A name="914189"><!-- 914189 --></A>
<H3><a NAME="mode.lighten"><!--marker mode.lighten --></a>
<a NAME="lighten.mode"><!--marker lighten.mode --></a>
Lighten only</H3>

<A name="446605"><!-- 446605 --></A>
<P> <BR><IMG SRC="modes-image-10.jpeg" ALT="Extracted pic [10]">
<EM>Lighten only</EM> is of course the opposite of Darken only. If we choose the same example here, bright red and turqoise, the result would be: (243,239,201) - an eggshell bright beige. Lighten works by choosing the <EM>highest value</EM> of each pixel pair, and the result is always lighter (similar to Screen). If you'd used Screen instead, you'd have gotten a similar, but somewhat brighter color (246,245,211), and if you had used Addition, you'd have got a similar but much brighter color (255,255,248). <STRONG>Conclusion: This mode compares the pixels of foreground and background and chooses the highest RGB-value.</STRONG></P>

<A name="446477"><!-- 446477 --></A>

<A name="914190"><!-- 914190 --></A>

<A name="914191"><!-- 914191 --></A>
<H3><a NAME="mode.hue"><!--marker mode.hue --></a>
<a NAME="hue.mode"><!--marker hue.mode --></a>
Hue</H3>

<A name="446597"><!-- 446597 --></A>
<P><EM><BR><IMG SRC="modes-image-11.jpeg" ALT="Extracted pic [11]">
Hue mode </EM>makes it possible to change the <EM>color </EM>of an object without changing brightness or saturation. This mode acts on color alone. Your foreground color is the color you'll get, but you'll keep the general feeling in the image; a loud green on soft dark blue will be translated into a loud yellow on soft dark yellow. White, black or grayscale information in the background is not affected and cannot be tinted. Consider this if you wish to tint a background with complementary colors next to each other. Fuzzy blue dots on yellow means that somewhere around the edges there will be gray (on your screen, transparent blue on top of yellow doesn't turn green, it gets gray!), and your dots will look much like frog's eggs or germs in a microscope. Note that you cannot shift a color to grayscale in this mode either. Grayscale information in the foreground comes out as a scratchy red. <STRONG>Conclusion: The composite image uses the Background for Value and Saturation information, while the Foreground is only used for determining Hue.</STRONG></P>

<A name="446385"><!-- 446385 --></A>

<A name="914192"><!-- 914192 --></A>

<A name="914193"><!-- 914193 --></A>
<H3><a NAME="mode.saturation"><!--marker mode.saturation --></a>
<a NAME="saturation.mode"><!--marker saturation.mode --></a>
Saturation </H3>

<A name="446593"><!-- 446593 --></A>
<P><BR><IMG SRC="modes-image-12.jpeg" ALT="Extracted pic [12]">
You can use any color you like in the foreground, background color doesn't change, only<EM> saturation</EM>, which assumes the same saturation as the foreground color. The hue can't be changed, except for pure grayscale background which becomes shades of red if the foreground contains color. Because you can change saturation, this mode is often used with gray paint because this desaturates the background. Note, using black, white or gray makes no difference, what matters is that those colors have no saturation.<STRONG> Conclusion: The composite image uses the Background for Hue and Value information, while the Foreground is only used for determining Saturation.</STRONG></P>

<A name="446407"><!-- 446407 --></A>

<A name="914194"><!-- 914194 --></A>

<A name="914195"><!-- 914195 --></A>

<A name="914196"><!-- 914196 --></A>
<H3><a NAME="mode.color"><!--marker mode.color --></a>
<a NAME="color.mode"><!--marker color.mode --></a>
<a NAME="color.mode"><!--marker color.mode --></a>
Color </H3>

<A name="446589"><!-- 446589 --></A>
<P><BR><IMG SRC="modes-image-13.jpeg" ALT="Extracted pic [13]">
<EM>Color Mode</EM> will change both <EM>hue</EM> and <EM>saturation</EM> in an image. Black or white background pixels are not affected, but all other colors, grayscale or not will assume the hue and saturation of the foreground color. Color mode does not affect the <EM>Value</EM> (brightness) of the background. The dark and light information is left intact, but not hue or saturation. This is a nice mode for tinting grayscale photos if you want strong, clear colors, for a softer tinting (old photo look) consider using Overlay instead. <STRONG>Conclusion: The composite image uses the Foreground for Hue/Saturation information, while the Background is only used for determining Value.</STRONG></P>

<A name="446423"><!-- 446423 --></A>

<A name="914197"><!-- 914197 --></A>

<A name="914198"><!-- 914198 --></A>
<H3>Value<a NAME="mode.value"><!--marker mode.value --></a>
<a NAME="value.mode"><!--marker value.mode --></a>
</H3>

<A name="446755"><!-- 446755 --></A>
<P><BR><IMG SRC="modes-image-14.jpeg" ALT="Extracted pic [14]">
<EM>Value</EM> is the same as"Luminosity" in Photoshop. It doesn't change the hue or saturation of the image, but it changes <EM>brightness</EM> and <EM>shadows</EM>; i.e the structure or 3D dimension of the image. As opposed to Overlay, this mode can't distinguish a dark red from a bright red, all shadows or highlights disappear from the background, and Value mode can't see grayscale BG at all - because all of these things are associated with Value, and BG value is ignored in this mode. Value is good for correcting overbright/dark colors, or it can be used to transfer patterns or structures into an image, without changing the color of the image. <STRONG>Conclusion: The composite image uses the Background for Hue/Saturation information, while the Foreground is only used for determining Value.</STRONG></P>

<A name="913906"><!-- 913906 --></A>

<A name="914199"><!-- 914199 --></A>

<A name="914200"><!-- 914200 --></A>
<H3><a NAME="mode.behind"><!--marker mode.behind --></a>
<a NAME="behind.mode"><!--marker behind.mode --></a>
Behind</H3>

<A name="446757"><!-- 446757 --></A>
<P>This Mode is a pure <EM>paint-mode</EM>, and has as such no function in the Layers dialog. Behind is used with Blend, Paint bucket or in the Brushes dialog. There is no use trying this mode on solid layers, because it only affects <EM>transparent</EM> or <EM>semi-transparent</EM> areas. When you paint with Behind, it's like painting on the other side of the layer. If you compare the layer with a wall with windows in it, the Behind paint would be applied to the outside of the house, and only be visible through the windows. Accordingly, if the windows are dirty (semi-transparency), the dirt will show against the Behind color. <STRONG>Conclusion: This is a paint-mode where only transparent areas are affected by your painting (does the opposite of Keep transparent in the Layers dialog)</STRONG></P>

<A name="913724"><!-- 913724 --></A>

<A name="914201"><!-- 914201 --></A>

<A name="914202"><!-- 914202 --></A>
<H2><a NAME="mode.comparing.differnt.modes"><!--marker mode.comparing.differnt.modes --></a>
<a NAME="comparing.different.modes"><!--marker comparing.different.modes --></a>
Comparing pictures in different modes</H2>

<A name="913685"><!-- 913685 --></A>
<P><BR><IMG SRC="modes-image-15.jpeg" ALT="Extracted pic [15]">
</P>

<A name="913581"><!-- 913581 --></A>
<P><BR><IMG SRC="modes-image-16.jpeg" ALT="Extracted pic [16]">
</P>

<A name="913767"><!-- 913767 --></A>

<A name="914203"><!-- 914203 --></A>
<H3><a NAME="mode.few.colors.screen.addition.lighten"><!--marker mode.few.colors.screen.addition.lighten --></a>
Why are there so few colors in Screen, Addition, and Lighten only? </H3>

<A name="913768"><!-- 913768 --></A>
<P>With pure process colors (<EM>CMY</EM> or printing ink colors) as back/foreground (<EM>Cyan</EM>, <EM>Magenta</EM>,<EM>Yellow</EM>) shades of that color is the only color you're going to see in <EM>Screen</EM>, <EM>Addition</EM> or <EM>Lighten</EM> mode. The reason for this: Just as White has a maximal RGB-value for all three channels, the RGB value of a process color is maximum for two RGB-channels. As a matter of fact, all RGB colors with max values for two channels are more or less bright versions of a certain process color, no matter what the third value is. So, if you fill a layer with Magenta (255,0,255), all colors in the composite image will end up Magenta. The more green they have in them, the paler the shade will be (until white) Check it out with the color selection dialog! Using pure Red, Green or Blue produces similar results. Since The RGB-colors have max value in one channel, output colors are restricted to those with max values for that channel, e.g. Using Red in a layer means only colors in the red spectrum (from magenta to yellow) are visible in the composite etc. Conclusion: White=max in all three channels - only white is visible, Process colors=max in two channels - only shades of that color are visible, RGB color=max in one channel - only shades of that spectrum are visible.</P>

<A name="913765"><!-- 913765 --></A>

<A name="914207"><!-- 914207 --></A>

<A name="914208"><!-- 914208 --></A>

<A name="914209"><!-- 914209 --></A>

<A name="914204"><!-- 914204 --></A>
<H3><a NAME="mode.screen"><!--marker mode.screen --></a>
<a NAME="mode.additon"><!--marker mode.additon --></a>
<a NAME="mode.lighten.only"><!--marker mode.lighten.only --></a>
<a NAME="mode.explanation.between.screen.additon.lighten"><!--marker mode.explanation.between.screen.additon.lighten --></a>
What is the difference between Screen, Addition and Lighten Only? </H3>

<A name="446739"><!-- 446739 --></A>
<P><EM>Screen</EM>, <EM>Addition</EM> and <EM>Lighten</EM> may appear very similar, sometimes almost as the same mode, but there are certain important differences.<EM> Lighten Only</EM> compares the FG and BG RGB-values, and chooses the <EM>higher value</EM> for each channel. Addition just <EM>adds up</EM> all values, and thus comes up with a brighter image. </P>

<A name="913806"><!-- 913806 --></A>
<P><EM>Screen</EM> works by <EM>mapping</EM> the foreground against a background scale from 0-255 in each channel, where the FG pixel maps its value to 0 (black) on that scale. Compare it to putting two scales of equal length on top of each other. The background scale goes from 0 to 255, while the foreground scale goes from x to 255 (x=FG value). The composite value can be found somewhere on the FG scale, and that placement is determined by the other scale. If the background is a grayscale with an Intensity of 100, and the foreground's Intensity is 178, the composite <EM>Value</EM> can be calculated like this: </P>

<A name="913807"><!-- 913807 --></A>

<UL>
<!--L1Bullet--><LI>The Background scale consists of 255 equal parts<!--L1Bullet--></LI>

<A name="913808"><!-- 913808 --></A>
<!--L1Bullet--><LI>The Foreground scale consists of 77 equal parts, because 255-178=77<!--L1Bullet--></LI>

<A name="913302"><!-- 913302 --></A>
<!--L1Bullet--><LI>If you choose 100 on the BG scale, the FG scale can be calculated: 100/255=FGscale/77 <!--L1Bullet--></LI>

<A name="913304"><!-- 913304 --></A>
<!--L1Bullet--><LI>FGs=(77x100)/255, so in this case the FGscale=30<!--L1Bullet--></LI>

<A name="913305"><!-- 913305 --></A>
<!--L1Bullet--><LI>Composite Value=178+what the FG scale shows: 178+30=208<!--L1Bullet--></LI>

<A name="913311"><!-- 913311 --></A>

</UL>
<P><STRONG>The formula for how Screen works: Composite Value = FG + ((255 - FG) x BG) / 255</STRONG></P>

<A name="913301"><!-- 913301 --></A>
<P>

<A name="913800"><!-- 913800 --></A>
<P>The most obvious difference between the three modes is that <EM>Screen</EM> color is <EM>darker</EM> than <EM>Addition</EM>, but <EM>lighter</EM> than <EM>Lighten Only</EM>. The main (in practice) difference between Lighten Only and Screen is that Screen is brighter, and it allows more shades than Lighten does. This is because Lighten is seldom affected by dark colors, it'll just choose the color that is lighter in all RGB values if there is one. The advantage of Screen vs. Add is that Screen colors don't white out as often as Add (because 255 is often the result when adding up).<BR><IMG SRC="modes-image-17.jpeg" ALT="Extracted pic [17]">
 </P>

<A name="446850"><!-- 446850 --></A>

<A name="914205"><!-- 914205 --></A>

<A name="914206"><!-- 914206 --></A>

<A name="914210"><!-- 914210 --></A>

<A name="914211"><!-- 914211 --></A>
<H3><a NAME="mode.explanation.between.multiply.darken"><!--marker mode.explanation.between.multiply.darken --></a>
<a NAME="mode.explanation.between.color.hue"><!--marker mode.explanation.between.color.hue --></a>
<a NAME="mode.multiply"><!--marker mode.multiply --></a>
<a NAME="mode.darken.only"><!--marker mode.darken.only --></a>
What is the difference between Multiply and Darken Only?</H3>

<A name="446910"><!-- 446910 --></A>
<P>These two modes often result in similar outcome, where<EM> Multiply</EM> is always a little <EM>darker</EM>. As you know, <EM>Darken</EM> chooses the darkest RGB values in each channel to produce its result. You can compare the difference and similarity of Multiply and Darken Only with those of Screen and Lighten only (Subtract would also correspond to Addition, if you inverted the top layer). Multiply is mathematically the opposite of Screen. Where in Screen the foreground value was mapped to zero and up, it is mapped to 255 and down in Multiply. This means that the Foreground value is the lightest possible value, just how dark it's going to be is determined by the Background Value. <STRONG>The algoritm is simple: The Composite Value = FG x (BG/255). </STRONG>For grayscale images, the difference is much more evident. If you take a look at the pictures on the next page, you'll find that Darken Only looks semi-transparent where Multiply looks as transparent as slides. The Multiply Mode is darker and shows a lot more of the background, and in color images, you'll get more color variation (for lighter colors) with Multiply than with Darken Only.<BR><IMG SRC="modes-image-18.jpeg" ALT="Extracted pic [18]">
</P>

<A name="446856"><!-- 446856 --></A>

<A name="914212"><!-- 914212 --></A>

<A name="914213"><!-- 914213 --></A>

<A name="914214"><!-- 914214 --></A>

<A name="914215"><!-- 914215 --></A>
<H3><a NAME="color"><!--marker color --></a>
<a NAME="hue"><!--marker hue --></a>
<a NAME="mode.color"><!--marker mode.color --></a>
<a NAME="mode.hue"><!--marker mode.hue --></a>
What is the difference between Color and Hue? </H3>

<A name="913340"><!-- 913340 --></A>
<P><EM>Hue</EM> and <EM>Color</EM> sometimes produce similar results, because in both cases the <EM>Foreground</EM> controls the composite <EM>Hue</EM>, and the <EM>Background</EM> determines <EM>Value</EM>. The difference consists in what layer controls <EM>Saturation</EM>. In Hue Mode it's the background, and in Color Mode it's the foreground. Generally, Hue and Value are the most important parameters in an image, and if Saturation is roughly the same in both layers, it'll be hard to tell the difference between Hue and Color Mode. You will however certainly be able to tell the difference if one of the layers is grayscale, or if there is a lot of variation in the saturation of a layer. You can also think of it this way;<EM> Color Mode is often used for adding color to a grayscale</EM>, in which case it's important that the top layer controls Hue and Saturation, while it must not interfere with the dark/bright values of the background. <EM>Hue, on the other hand is often used for changing the existing color of a certain object.</EM> In this case you don't want to change the Saturation in the background, because then the object would look very unnatural.</P>

<A name="914041"><!-- 914041 --></A>
<P>

<P><HR>

<EM>Generated by <STRONG>fmtoweb (v. 2.9c)</STRONG> written by Peter G. Martin <a href="mailto:peterm@zeta.org.au">&lt;peterm@zeta.org.au&gt;</a> Last modified: 19 May 1998</EM><P>
<A HREF="Selection_menu.html"><IMG ALIGN = BOTTOM SRC = "prev.gif" ALT="Previous"></A>
<A HREF="layers.html"><IMG ALIGN = BOTTOM SRC = "next.gif" ALT="Next"></A>
<A HREF="index2.html"><IMG ALIGN=BOTTOM SRC = "toc.gif" ALT="TOC"></A>
<A HREF="GimpmanualIX.html"><IMG ALIGN = BOTTOM SRC = "index.gif" ALT="Index"></A>
<A HREF="webfeedback.html"><IMG ALIGN = BOTTOM SRC = "feedback.gif" ALT="Feedback"></A><P>

</BODY>
</HTML>