~ubuntu-branches/ubuntu/vivid/gimp-help/vivid

« back to all changes in this revision

Viewing changes to html/en/ch02.html

  • Committer: Bazaar Package Importer
  • Author(s): Ari Pollak
  • Date: 2005-05-08 18:04:08 UTC
  • mfrom: (1.2.1 upstream) (2.1.1 hoary)
  • Revision ID: james.westby@ubuntu.com-20050508180408-mjwl3kmjczfnmu5v
Tags: 2+0.7-5
Fix doc-base entry for gimp-help-zh-cn to point to correct directory
name (Closes: #308228)

Show diffs side-by-side

added added

removed removed

Lines of Context:
6
6
    <title>Chapter 2. Using Gimp</title>
7
7
    <link rel="stylesheet" href="gimp-help-plain.css" type="text/css" />
8
8
    <link rel="stylesheet" href="gimp-help-screen.css" type="text/css" />
9
 
    <meta name="generator" content="DocBook XSL Stylesheets V1.64.1" />
10
 
    <link rel="home" href="index.html" title="GIMP User Manual" />
11
 
    <link rel="up" href="index.html" title="GIMP User Manual" />
12
 
    <link rel="previous" href="ch01.html" title="Chapter 1. Introduction" />
13
 
    <link rel="next" href="ch02s02.html" title="2. Image Window" />
 
9
    <meta name="generator" content="DocBook XSL Stylesheets V1.66.1" />
 
10
    <link rel="start" href="index.html" title="&#10;      &#10;    " />
 
11
    <link rel="up" href="index.html" title="&#10;      &#10;    " />
 
12
    <link rel="prev" href="ch01s04s03.html" title="4.3. What Happens to a Bug Report after you Submit it" />
 
13
    <link rel="next" href="ch02s02.html" title="2. Running Gimp" />
14
14
  </head>
15
15
  <body>
16
 
    <div class="navheader">
 
16
    <div xmlns="" class="navheader">
17
17
      <table width="100%" summary="Navigation header">
18
18
        <tr>
19
 
          <th colspan="3" align="center">Chapter 2. Using Gimp</th>
 
19
          <th colspan="3" align="center" id="chaptername">Chapter 2. Using <span xmlns="http://www.w3.org/1999/xhtml" class="acronym">Gimp</span></th>
20
20
        </tr>
21
21
        <tr>
22
 
          <td width="20%" align="left"><a accesskey="p" href="ch01.html">Prev</a> </td>
23
 
          <th width="60%" align="center"> </th>
 
22
          <td width="20%" align="left"><a accesskey="p" href="ch01s04s03.html">Prev</a> </td>
 
23
          <th width="60%" align="center" id="sectionname"> </th>
24
24
          <td width="20%" align="right"> <a accesskey="n" href="ch02s02.html">Next</a></td>
25
25
        </tr>
26
26
      </table>
33
33
            <h2 class="title"><a id="using"></a>Chapter 2. Using <span class="acronym">Gimp</span></h2>
34
34
          </div>
35
35
        </div>
36
 
        <div></div>
37
36
      </div>
38
37
      <div class="toc">
39
38
        <p>
42
41
        <dl>
43
42
          <dt>
44
43
            <span class="sect1">
45
 
              <a href="ch02.html#gimp-using-introduction">1. Using Gimp</a>
46
 
            </span>
47
 
          </dt>
48
 
          <dt>
49
 
            <span class="sect1">
50
 
              <a href="ch02s02.html">2. Image Window</a>
51
 
            </span>
52
 
          </dt>
53
 
          <dd>
54
 
            <dl>
55
 
              <dt>
56
 
                <span class="sect2">
57
 
                  <a href="ch02s02.html#id2945889">2.1. Introduction</a>
58
 
                </span>
59
 
              </dt>
60
 
              <dt>
61
 
                <span class="sect2">
62
 
                  <a href="ch02s02s02.html">2.2. QuickMask</a>
63
 
                </span>
64
 
              </dt>
65
 
            </dl>
66
 
          </dd>
 
44
              <a href="ch02.html#gimp-using-setup">1. Starting Gimp the first time</a>
 
45
            </span>
 
46
          </dt>
 
47
          <dt>
 
48
            <span class="sect1">
 
49
              <a href="ch02s02.html">2. Running Gimp</a>
 
50
            </span>
 
51
          </dt>
 
52
          <dt>
 
53
            <span class="sect1">
 
54
              <a href="ch02s03.html">3. Basic Gimp Usage</a>
 
55
            </span>
 
56
          </dt>
 
57
          <dd>
 
58
            <dl>
 
59
              <dt>
 
60
                <span class="sect2">
 
61
                  <a href="ch02s03.html#id3305623">3.1. Introduction</a>
 
62
                </span>
 
63
              </dt>
 
64
              <dt>
 
65
                <span class="sect2">
 
66
                  <a href="ch02s03s02.html">3.2. The Main Toolbox</a>
 
67
                </span>
 
68
              </dt>
 
69
              <dt>
 
70
                <span class="sect2">
 
71
                  <a href="ch02s03s03.html">3.3. Image Window</a>
 
72
                </span>
 
73
              </dt>
 
74
              <dt>
 
75
                <span class="sect2">
 
76
                  <a href="ch02s03s04.html">3.4. Dialogs and Docking</a>
 
77
                </span>
 
78
              </dt>
 
79
              <dt>
 
80
                <span class="sect2">
 
81
                  <a href="ch02s03s05.html">3.5. Basic Gimp Concepts</a>
 
82
                </span>
 
83
              </dt>
 
84
            </dl>
 
85
          </dd>
 
86
          <dt>
 
87
            <span class="sect1">
 
88
              <a href="ch02s04.html">4. Working with Images</a>
 
89
            </span>
 
90
          </dt>
 
91
          <dd>
 
92
            <dl>
 
93
              <dt>
 
94
                <span class="sect2">
 
95
                  <a href="ch02s04.html#id3307365">4.1. Image types</a>
 
96
                </span>
 
97
              </dt>
 
98
              <dt>
 
99
                <span class="sect2">
 
100
                  <a href="ch02s04s02.html">4.2. QuickMask</a>
 
101
                </span>
 
102
              </dt>
 
103
              <dt>
 
104
                <span class="sect2">
 
105
                  <a href="ch02s04s03.html">4.3. Layers</a>
 
106
                </span>
 
107
              </dt>
 
108
              <dt>
 
109
                <span class="sect2">
 
110
                  <a href="ch02s04s04.html">4.4. The Selection</a>
 
111
                </span>
 
112
              </dt>
 
113
              <dt>
 
114
                <span class="sect2">
 
115
                  <a href="ch02s04s05.html">4.5. Undoing</a>
 
116
                </span>
 
117
              </dt>
 
118
              <dt>
 
119
                <span class="sect2">
 
120
                  <a href="ch02s04s06.html">4.6. Grids and Guides</a>
 
121
                </span>
 
122
              </dt>
 
123
              <dt>
 
124
                <span class="sect2">
 
125
                  <a href="ch02s04s07.html">4.7. Paths</a>
 
126
                </span>
 
127
              </dt>
 
128
              <dt>
 
129
                <span class="sect2">
 
130
                  <a href="ch02s04s08.html">4.8. Brushes</a>
 
131
                </span>
 
132
              </dt>
 
133
              <dt>
 
134
                <span class="sect2">
 
135
                  <a href="ch02s04s09.html">4.9. Gradients</a>
 
136
                </span>
 
137
              </dt>
 
138
              <dt>
 
139
                <span class="sect2">
 
140
                  <a href="ch02s04s10.html">4.10. Patterns</a>
 
141
                </span>
 
142
              </dt>
 
143
              <dt>
 
144
                <span class="sect2">
 
145
                  <a href="ch02s04s11.html">4.11. Palettes</a>
 
146
                </span>
 
147
              </dt>
 
148
              <dt>
 
149
                <span class="sect2">
 
150
                  <a href="ch02s04s12.html">4.12. Text and Fonts</a>
 
151
                </span>
 
152
              </dt>
 
153
              <dt>
 
154
                <span class="sect2">
 
155
                  <a href="ch02s04s13.html">4.13. Stroking a Selection or Path</a>
 
156
                </span>
 
157
              </dt>
 
158
            </dl>
 
159
          </dd>
 
160
          <dt>
 
161
            <span class="sect1">
 
162
              <a href="ch02s05.html">5. Files</a>
 
163
            </span>
 
164
          </dt>
 
165
          <dt>
 
166
            <span class="sect1">
 
167
              <a href="ch02s06.html">6. Working with Digital Camera Photos</a>
 
168
            </span>
 
169
          </dt>
 
170
          <dd>
 
171
            <dl>
 
172
              <dt>
 
173
                <span class="sect2">
 
174
                  <a href="ch02s06.html#id3314219">6.1. Introduction</a>
 
175
                </span>
 
176
              </dt>
 
177
              <dt>
 
178
                <span class="sect2">
 
179
                  <a href="ch02s06s02.html">6.2. Improving Composition</a>
 
180
                </span>
 
181
              </dt>
 
182
              <dt>
 
183
                <span class="sect2">
 
184
                  <a href="ch02s06s03.html">6.3. Improving Colors</a>
 
185
                </span>
 
186
              </dt>
 
187
              <dt>
 
188
                <span class="sect2">
 
189
                  <a href="ch02s06s04.html">6.4. Adjusting Sharpness</a>
 
190
                </span>
 
191
              </dt>
 
192
              <dt>
 
193
                <span class="sect2">
 
194
                  <a href="ch02s06s05.html">6.5. Removing Unwanted Objects from an Image</a>
 
195
                </span>
 
196
              </dt>
 
197
              <dt>
 
198
                <span class="sect2">
 
199
                  <a href="ch02s06s06.html">6.6. Saving Your Results</a>
 
200
                </span>
 
201
              </dt>
 
202
            </dl>
 
203
          </dd>
 
204
          <dt>
 
205
            <span class="sect1">
 
206
              <a href="ch02s07.html">7. Preparing your Images for the web</a>
 
207
            </span>
 
208
          </dt>
 
209
          <dd>
 
210
            <dl>
 
211
              <dt>
 
212
                <span class="sect2">
 
213
                  <a href="ch02s07.html#id3315595">7.1. Squeezing Filesize a bit more</a>
 
214
                </span>
 
215
              </dt>
 
216
            </dl>
 
217
          </dd>
 
218
          <dt>
 
219
            <span class="sect1">
 
220
              <a href="ch02s08.html">8. Plugins</a>
 
221
            </span>
 
222
          </dt>
 
223
          <dd>
 
224
            <dl>
 
225
              <dt>
 
226
                <span class="sect2">
 
227
                  <a href="ch02s08.html#id3315567">8.1. Introduction</a>
 
228
                </span>
 
229
              </dt>
 
230
              <dt>
 
231
                <span class="sect2">
 
232
                  <a href="ch02s08s02.html">8.2. Using Plugins</a>
 
233
                </span>
 
234
              </dt>
 
235
              <dt>
 
236
                <span class="sect2">
 
237
                  <a href="ch02s08s03.html">8.3. Installing New Plugins</a>
 
238
                </span>
 
239
              </dt>
 
240
              <dt>
 
241
                <span class="sect2">
 
242
                  <a href="ch02s08s04.html">8.4. Writing Plugins</a>
 
243
                </span>
 
244
              </dt>
 
245
            </dl>
 
246
          </dd>
 
247
          <dt>
 
248
            <span class="sect1">
 
249
              <a href="ch02s09.html">9. Using Script-Fu Scripts</a>
 
250
            </span>
 
251
          </dt>
 
252
          <dt>
 
253
            <span class="sect1">
 
254
              <a href="ch02s10.html">10. A Script-Fu Tutorial</a>
 
255
            </span>
 
256
          </dt>
 
257
          <dd>
 
258
            <dl>
 
259
              <dt>
 
260
                <span class="sect2">
 
261
                  <a href="ch02s10.html#id3316524">10.1. Getting Acquainted With Scheme</a>
 
262
                </span>
 
263
              </dt>
 
264
              <dt>
 
265
                <span class="sect2">
 
266
                  <a href="ch02s10s02.html">10.2. Variables And Functions</a>
 
267
                </span>
 
268
              </dt>
 
269
              <dt>
 
270
                <span class="sect2">
 
271
                  <a href="ch02s10s03.html">10.3. Lists, Lists And More Lists</a>
 
272
                </span>
 
273
              </dt>
 
274
              <dt>
 
275
                <span class="sect2">
 
276
                  <a href="ch02s10s04.html">10.4. Your First Script-Fu Script</a>
 
277
                </span>
 
278
              </dt>
 
279
              <dt>
 
280
                <span class="sect2">
 
281
                  <a href="ch02s10s05.html">10.5. Giving Our Script Some Guts</a>
 
282
                </span>
 
283
              </dt>
 
284
              <dt>
 
285
                <span class="sect2">
 
286
                  <a href="ch02s10s06.html">10.6. Extending The Text Box Script</a>
 
287
                </span>
 
288
              </dt>
 
289
            </dl>
 
290
          </dd>
 
291
          <dt>
 
292
            <span class="sect1">
 
293
              <a href="ch02s11.html">11. Getting Unstuck</a>
 
294
            </span>
 
295
          </dt>
67
296
        </dl>
68
297
      </div>
69
298
      <div class="sect1" lang="en" xml:lang="en">
70
299
        <div class="titlepage">
71
300
          <div>
72
301
            <div>
73
 
              <h2 class="title" style="clear: both"><a id="gimp-using-introduction"></a>1. Using Gimp</h2>
74
 
            </div>
75
 
          </div>
76
 
          <div></div>
77
 
        </div>
78
 
        <a id="id2945854" class="indexterm"></a>
79
 
        <p>
80
 
    TO BE WRITTEN
81
 
  </p>
 
302
              <h2 class="title" style="clear: both"><a id="gimp-using-setup"></a>1. Starting Gimp the first time</h2>
 
303
            </div>
 
304
          </div>
 
305
        </div>
 
306
        <a id="id3304559" class="indexterm"></a>
 
307
        <p>
 
308
    The first time you run Gimp, it goes through a series of steps to
 
309
    set up options and directories.  This process creates a subdirectory
 
310
    of your home directory called <tt class="filename">.gimp-2.0</tt>.  All of the information
 
311
    about the choices you make here goes into that directory.  If you
 
312
    later remove that directory, or rename it as something like
 
313
    <tt class="filename">.gimp-2.0.bak</tt>, then the next
 
314
    time you start Gimp, it will go through the whole setup sequence
 
315
    again, creating a new <tt class="filename">.gimp-2.0</tt> directory.  You can exploit
 
316
    this if you want to explore the effect of different choices without
 
317
    destroying your existing installation, or if you have screwed things
 
318
    up so badly that your existing installation needs to be nuked.
 
319
  </p>
 
320
        <p>
 
321
    For the most part, setting up Gimp is very easy, and you can just
 
322
    accept the defaults at each step, and possibly adjust things later
 
323
    using the <a href="ch04s18.html" title="18. Preferences">Preferences</a> dialog.   The
 
324
    main thing you might want to give a little thought to at the start
 
325
    is the amount of memory to allocate for Gimp's tile cache.
 
326
  </p>
 
327
        <p>
 
328
    Here is a walk-through of the setup process:
 
329
  </p>
 
330
        <div class="variablelist">
 
331
          <dl>
 
332
            <dt>
 
333
              <span class="term">Welcome</span>
 
334
            </dt>
 
335
            <dd>
 
336
              <div class="informalfigure">
 
337
                <div class="mediaobject">
 
338
                  <img src="../images/using/ui-welcome.png" />
 
339
                  <div class="caption">
 
340
                    <p>
 
341
                The Welcome screen.
 
342
              </p>
 
343
                  </div>
 
344
                </div>
 
345
              </div>
 
346
              <p>
 
347
          Since this window mentions the GNU General Public License you
 
348
          know it is truly a Welcome dialog you are entering into.  Also,
 
349
          note the "Continue" button. The Gimp does not even ask that you
 
350
          agree to it, merely whether you want to continue. Feel free to
 
351
          press the continue button.
 
352
        </p>
 
353
            </dd>
 
354
            <dt>
 
355
              <span class="term">Personal Gimp Directory</span>
 
356
            </dt>
 
357
            <dd>
 
358
              <div class="informalfigure">
 
359
                <div class="mediaobject">
 
360
                  <img src="../images/using/ui-personal.png" />
 
361
                  <div class="caption">
 
362
                    <p>
 
363
                The Personal Directory screen.
 
364
              </p>
 
365
                  </div>
 
366
                </div>
 
367
              </div>
 
368
            </dd>
 
369
            <dt>
 
370
              <span class="term">User Installation Log</span>
 
371
            </dt>
 
372
            <dd>
 
373
              <div class="informalfigure">
 
374
                <div class="mediaobject">
 
375
                  <img src="../images/using/ui-log.png" />
 
376
                  <div class="caption">
 
377
                    <p>
 
378
                The User Installation Log screen.
 
379
              </p>
 
380
                  </div>
 
381
                </div>
 
382
              </div>
 
383
              <p>
 
384
          This window shows you the files that Gimp will make. It will
 
385
          have some complaints if you told it to install some place that
 
386
          it didn't have permission to be. There is a scroll bar to see
 
387
          all the things Gimp has created for you. 
 
388
        </p>
 
389
            </dd>
 
390
            <dt>
 
391
              <span class="term">Gimp Performance Tuning</span>
 
392
            </dt>
 
393
            <dd>
 
394
              <div class="informalfigure">
 
395
                <div class="mediaobject">
 
396
                  <img src="../images/using/ui-performance.png" />
 
397
                  <div class="caption">
 
398
                    <p>
 
399
                The User Performance Tuning screen.
 
400
              </p>
 
401
                  </div>
 
402
                </div>
 
403
              </div>
 
404
              <p>
 
405
          Setting your memory usage is not an easy thing. So much depends
 
406
          on what your needs are for the gimp and what hardware you have
 
407
          to work with. You have two options at this point. Go with the
 
408
          default value the developers have set here, or determine the
 
409
          best value. A brief <a href="ch02.html#gimp-using-setup-tile-cache" title="How to Set Your Tile Cache">tile-cache</a>
 
410
          explanation. might help you 
 
411
          determine this value. The tile-cache information might also be
 
412
          helpful to you if you are encountering memory problems when
 
413
          using the gimp. 
 
414
        </p>
 
415
              <p>
 
416
          On a Unix system, <tt class="filename">/tmp</tt>
 
417
          might be a good place for the swap. 
 
418
        </p>
 
419
            </dd>
 
420
            <dt>
 
421
              <a id="gimp-setup-monitor-resolution"></a>
 
422
              <span class="term">Monitor Resolution</span>
 
423
            </dt>
 
424
            <dd>
 
425
              <div class="informalfigure">
 
426
                <div class="mediaobject">
 
427
                  <img src="../images/using/ui-monitor.png" />
 
428
                  <div class="caption">
 
429
                    <p>
 
430
              The Monitor Resolution screen
 
431
            </p>
 
432
                  </div>
 
433
                </div>
 
434
              </div>
 
435
              <p>
 
436
        Monitor Resolution is the ratio of pixels, horizontally and
 
437
        vertically, to inches.  You have three ways to proceed here: 
 
438
        </p>
 
439
              <div class="itemizedlist">
 
440
                <ul type="disc">
 
441
                  <li>
 
442
                    <p>
 
443
            Get Resolution from windowing system. (easiest, probably
 
444
            inaccurate).  
 
445
          </p>
 
446
                  </li>
 
447
                  <li>
 
448
                    <p>
 
449
            Set Manually
 
450
          </p>
 
451
                  </li>
 
452
                  <li>
 
453
                    <p>
 
454
            Push the Calibrate Button.
 
455
          </p>
 
456
                  </li>
 
457
                </ul>
 
458
              </div>
 
459
              <p>
 
460
      </p>
 
461
            </dd>
 
462
            <dt>
 
463
              <span class="term">The Calibrate Dialog</span>
 
464
            </dt>
 
465
            <dd>
 
466
              <div class="informalfigure">
 
467
                <div class="mediaobject">
 
468
                  <img src="../images/using/ui-calibrate.png" />
 
469
                  <div class="caption">
 
470
                    <p>
 
471
          The Calibration dialog
 
472
              </p>
 
473
                  </div>
 
474
                </div>
 
475
              </div>
 
476
              <p>
 
477
           My monitor was impressively off when I tried the Calibrate
 
478
           Dialog. The "Calibrate Game" is fun to play. You will need a
 
479
           soft ruler.
 
480
        </p>
 
481
            </dd>
 
482
            <dt>
 
483
              <span class="term">Finally . . .</span>
 
484
            </dt>
 
485
            <dd>
 
486
              <p>
 
487
          So now you have Gimp installed and configured, and are ready to
 
488
          go.  Just a couple of suggestions before you start, though:
 
489
          First, when you run Gimp, by default it shows a "tip" each time it
 
490
          starts up.  These tips tell you things that are very useful but
 
491
          not easy to learn by experimenting, so they are worth paying
 
492
          attention to.  If you find it too distracting to look at them
 
493
          each time you start, you can disable 
 
494
          them; but please go through them when you have the chance:  for
 
495
          your convenience, you can read them at any time using the menu
 
496
          command 
 
497
          <span class="guimenu">Help</span>-&gt;<span class="guimenuitem">Tips</span>.  Second,
 
498
          if at some point you are trying to do something, and Gimp seems to
 
499
          have suddenly stopped functioning, the section <a href="ch02s11.html" title="11. Getting Unstuck">Getting Unstuck</a> may
 
500
          help you out.  Happy Gimping!
 
501
        </p>
 
502
            </dd>
 
503
          </dl>
 
504
        </div>
 
505
        <div class="simplesect" lang="en" xml:lang="en">
 
506
          <div class="titlepage">
 
507
            <div>
 
508
              <div>
 
509
                <h3 class="title"><a id="gimp-using-setup-tile-cache"></a>How to Set Your Tile Cache</h3>
 
510
              </div>
 
511
            </div>
 
512
          </div>
 
513
          <p>
 
514
    Image processing can require a lot of memory. Gimp uses the
 
515
    operating system services to handle memory, up to a given point,
 
516
    past which it uses its own system so that it does not eat all system
 
517
    memory resources. This system consists in sending old data to files
 
518
    in the disk. The decision point is what the Tile Cache size
 
519
    determines–the maximum amount of operating system resources to
 
520
    use–and is measured in Bytes (or multiples, like MegaBytes). It does
 
521
    not include Gimp's own memory, just the space required for the image
 
522
    data.
 
523
  </p>
 
524
          <p>
 
525
    A low value means that Gimp sends data vey quickly to disk, not
 
526
    making real use of the available RAM, and making the disks work
 
527
    without any real reason. Too high a value, and other applications
 
528
    start to have less system resources, forcing them to use swap space,
 
529
    which also makes the disks work; or maybe some will even get
 
530
    killed or start to malfunction due lack of RAM.
 
531
  </p>
 
532
          <p>
 
533
    How to choose a number for the Tile Cache size?  Here are some
 
534
    ways you could decide what value to use, as well as a few tricks:
 
535
  </p>
 
536
          <div class="itemizedlist">
 
537
            <ul type="disc">
 
538
              <li>
 
539
                <p>
 
540
    The easiest method is to just forget about this and hope the
 
541
    default works. This was a usable method when
 
542
    computers had little RAM, and most people just tried to make small
 
543
    images with Gimp while running one or two other applications at
 
544
    the same time. If you
 
545
    want something easy and only use Gimp to make screenshots and
 
546
    logos, this is probably the best solution.
 
547
  </p>
 
548
              </li>
 
549
              <li>
 
550
                <p>
 
551
      If you have a modern computer with plenty of memory–say, 512 MB
 
552
      or more–setting the Tile Cache to half of your RAM will probably
 
553
      give good performance for Gimp in most situations without
 
554
      depriving other applications.  Probably even 3/4 of your RAM would
 
555
      be fine.
 
556
    </p>
 
557
              </li>
 
558
              <li>
 
559
                <p>
 
560
      Ask someone to do it for you, which in the case of a computer
 
561
      serving multiple users at the same time can be a good idea: that
 
562
      way the administrator and other users do not get mad at you for
 
563
      abusing the machine, nor do you get a badly underperfoming Gimp. If
 
564
      it is your machine and only serves a single user at a given time,
 
565
      this could mean money, or drinks, as price for the service. 
 
566
    </p>
 
567
              </li>
 
568
              <li>
 
569
                <p>
 
570
      Start changing the value a bit each time and check that it goes
 
571
      faster and faster with each increase, but the system does not
 
572
      complain about lack of memory. Be forewarned that sometimes lack
 
573
      of memory shows up suddenly with some applications being killed to
 
574
      make space for the others. 
 
575
    </p>
 
576
              </li>
 
577
              <li>
 
578
                <p>
 
579
      Do some simple math and calculate a viable value. Maybe you will
 
580
      have to tune it later, but maybe you have to tune it anyway with
 
581
      the other previous methods. At least you know what is happening
 
582
      and can get the best from your computer. 
 
583
    </p>
 
584
              </li>
 
585
            </ul>
 
586
          </div>
 
587
          <p>
 
588
    Let's suppose you prefer the last option, and want to get a good value to
 
589
    start with. First, you need to get some data about your
 
590
    computer. This data is the amount of RAM installed in your system,
 
591
    the operating system's
 
592
    swap space available, and a general idea about the speed of the
 
593
    disks that store the operating system's swap and the directory
 
594
    used for Gimp's swap. You do not need to do disk tests, nor check
 
595
    the RPM of the disks, the thing is to see which one seems clearly
 
596
    faster or slower, or whether all are similar. You can
 
597
    change Gimp's swap directory in the Folders page of the
 
598
    Preferences dialog.
 
599
  </p>
 
600
          <p>
 
601
    The next thing to do is to see how much resources you require for
 
602
    other apps you want to run at the same time than Gimp. So start
 
603
    all your tools and do some work with them, except Gimp of course,
 
604
    and check the usage. You can use applications like free or top,
 
605
    depending in what OS and what environment you use. The numbers you
 
606
    want is the memory left, including file cache. Modern Unix keeps a
 
607
    very small area free, in order to be able to keep large file and buffer
 
608
    caches. Linux's <span class="emphasis"><em>free</em></span> command does the maths
 
609
    for you: check the column that 
 
610
    says "free", and the line "-/+ buffers/cache". Note down also the
 
611
    free swap
 
612
  </p>
 
613
          <p>
 
614
    Now time for decisions and a bit of simple math. Basically the
 
615
    concept is to decide if you want to base all Tile Cache in RAM, or
 
616
    RAM plus operating system swap: 
 
617
  </p>
 
618
          <div class="procedure">
 
619
            <ol type="1">
 
620
              <li>
 
621
                <p>
 
622
      Do you change applications a lot? Or keep working in Gimp for a
 
623
      long time? If you spend a lot of time in Gimp, you can consider free
 
624
      RAM plus free swap as available; if not, you need to go to the
 
625
      following steps. (If you're feeling unsure about it,
 
626
      check the following steps.) If you are sure you switch apps
 
627
      every few minutes, only count the free RAM and just go to the
 
628
      final decision; no more things to check.
 
629
   </p>
 
630
              </li>
 
631
              <li>
 
632
                <p>
 
633
     Does the operating system swap live in the same physical disk as
 
634
     Gimp swap? If so, add RAM and swap. Otherwise go to the next
 
635
     step. 
 
636
   </p>
 
637
              </li>
 
638
              <li>
 
639
                <p>
 
640
     Is the disk that holds the OS swap faster or the same speed as the
 
641
     disk that holds the Gimp swap? If slower, take only the free RAM; if
 
642
     faster or similar, add free RAM and swap.
 
643
   </p>
 
644
              </li>
 
645
              <li>
 
646
                <p>
 
647
     You now have a number, be it just the free RAM or the free RAM plus
 
648
     the free OS swap. Reduce it a bit, to be on the safe side, and
 
649
     that is the Tile Cache you could use as a good start.
 
650
   </p>
 
651
              </li>
 
652
            </ol>
 
653
          </div>
 
654
          <p>
 
655
    As you can see, all is about checking the free resources, and
 
656
    decide if the OS swap is worth using or will cause more problems
 
657
    than help.
 
658
  </p>
 
659
          <p>
 
660
    There are some reasons you want to adjust this value, though. The
 
661
    basic one is changes in your computer usage pattern, or
 
662
    changing hardware. That could mean your assumptions about how you
 
663
    use your computer, or the speed of it, are no longer valid. That
 
664
    would require a reevaluation of the previous steps, which can
 
665
    drive you to a similar value or a completly new value.
 
666
  </p>
 
667
          <p>
 
668
    Another reason to change the value is because it seems that Gimp
 
669
    runs too slowly, while changing to other applications is fast:
 
670
    this means that Gimp could use more memory without impairing the
 
671
    other applications. On the other hand, if you get complaints from
 
672
    other applications about not having enough memory, then it may
 
673
    benefit you to not let Gimp hog so much of it.
 
674
  </p>
 
675
          <p>
 
676
    If you decided to use only RAM and Gimp runs slowly, you could try
 
677
    increasing the value a bit, but never to use also all the free
 
678
    swap. If the case is the contrary, using both RAM and swap, and
 
679
    you have problems about lack of resources, then you should
 
680
    decrease the amount of RAM available to Gimp.
 
681
  </p>
 
682
          <p>
 
683
    Another tricks is to put the Swap Dir in a very fast disk, or in a
 
684
    different disk than the one where most of your files
 
685
    reside. Spreading the operating 
 
686
    system swap over multiple disks is also a good way to speed up
 
687
    things, in general. And of course, maybe you have to buy more RAM
 
688
    or stop using lots of programs at the same time: you can not
 
689
    expect to edit a poster in a computer with 16MB and be fast.
 
690
  </p>
 
691
          <p>
 
692
    You can also check what memory requirements your images have. The
 
693
    larger the images, and the number of undos, the more resources you
 
694
    need. This is another way to choose a number, but it is only good
 
695
    if you always work with the same kind of images, and thus the real
 
696
    requirements do not vary. It is also helpful to know if you will
 
697
    require more RAM and/or disk space. 
 
698
  </p>
 
699
        </div>
82
700
      </div>
83
701
    </div>
84
702
    <div class="navfooter">
85
703
      <hr />
86
704
      <table width="100%" summary="Navigation footer">
87
705
        <tr>
88
 
          <td width="40%" align="left"><a accesskey="p" href="ch01.html">Prev</a> </td>
 
706
          <td width="40%" align="left"><a accesskey="p" href="ch01s04s03.html">Prev</a> </td>
89
707
          <td width="20%" align="center">
90
708
            <a accesskey="u" href="index.html">Up</a>
91
709
          </td>
92
710
          <td width="40%" align="right"> <a accesskey="n" href="ch02s02.html">Next</a></td>
93
711
        </tr>
94
712
        <tr>
95
 
          <td width="40%" align="left" valign="top">Chapter 1. Introduction </td>
 
713
          <td width="40%" align="left" valign="top">4.3. What Happens to a Bug Report after you Submit it </td>
96
714
          <td width="20%" align="center">
97
715
            <a accesskey="h" href="index.html">Home</a>
98
716
          </td>
99
 
          <td width="40%" align="right" valign="top"> 2. Image Window</td>
 
717
          <td width="40%" align="right" valign="top"> 2. Running Gimp</td>
100
718
        </tr>
101
719
      </table>
102
720
    </div>