44
43
<span class="sect1">
45
<a href="ch02.html#gimp-using-introduction">1. Using Gimp</a>
50
<a href="ch02s02.html">2. Image Window</a>
57
<a href="ch02s02.html#id2945889">2.1. Introduction</a>
62
<a href="ch02s02s02.html">2.2. QuickMask</a>
44
<a href="ch02.html#gimp-using-setup">1. Starting Gimp the first time</a>
49
<a href="ch02s02.html">2. Running Gimp</a>
54
<a href="ch02s03.html">3. Basic Gimp Usage</a>
61
<a href="ch02s03.html#id3305623">3.1. Introduction</a>
66
<a href="ch02s03s02.html">3.2. The Main Toolbox</a>
71
<a href="ch02s03s03.html">3.3. Image Window</a>
76
<a href="ch02s03s04.html">3.4. Dialogs and Docking</a>
81
<a href="ch02s03s05.html">3.5. Basic Gimp Concepts</a>
88
<a href="ch02s04.html">4. Working with Images</a>
95
<a href="ch02s04.html#id3307365">4.1. Image types</a>
100
<a href="ch02s04s02.html">4.2. QuickMask</a>
105
<a href="ch02s04s03.html">4.3. Layers</a>
110
<a href="ch02s04s04.html">4.4. The Selection</a>
115
<a href="ch02s04s05.html">4.5. Undoing</a>
120
<a href="ch02s04s06.html">4.6. Grids and Guides</a>
125
<a href="ch02s04s07.html">4.7. Paths</a>
130
<a href="ch02s04s08.html">4.8. Brushes</a>
135
<a href="ch02s04s09.html">4.9. Gradients</a>
140
<a href="ch02s04s10.html">4.10. Patterns</a>
145
<a href="ch02s04s11.html">4.11. Palettes</a>
150
<a href="ch02s04s12.html">4.12. Text and Fonts</a>
155
<a href="ch02s04s13.html">4.13. Stroking a Selection or Path</a>
162
<a href="ch02s05.html">5. Files</a>
167
<a href="ch02s06.html">6. Working with Digital Camera Photos</a>
174
<a href="ch02s06.html#id3314219">6.1. Introduction</a>
179
<a href="ch02s06s02.html">6.2. Improving Composition</a>
184
<a href="ch02s06s03.html">6.3. Improving Colors</a>
189
<a href="ch02s06s04.html">6.4. Adjusting Sharpness</a>
194
<a href="ch02s06s05.html">6.5. Removing Unwanted Objects from an Image</a>
199
<a href="ch02s06s06.html">6.6. Saving Your Results</a>
206
<a href="ch02s07.html">7. Preparing your Images for the web</a>
213
<a href="ch02s07.html#id3315595">7.1. Squeezing Filesize a bit more</a>
220
<a href="ch02s08.html">8. Plugins</a>
227
<a href="ch02s08.html#id3315567">8.1. Introduction</a>
232
<a href="ch02s08s02.html">8.2. Using Plugins</a>
237
<a href="ch02s08s03.html">8.3. Installing New Plugins</a>
242
<a href="ch02s08s04.html">8.4. Writing Plugins</a>
249
<a href="ch02s09.html">9. Using Script-Fu Scripts</a>
254
<a href="ch02s10.html">10. A Script-Fu Tutorial</a>
261
<a href="ch02s10.html#id3316524">10.1. Getting Acquainted With Scheme</a>
266
<a href="ch02s10s02.html">10.2. Variables And Functions</a>
271
<a href="ch02s10s03.html">10.3. Lists, Lists And More Lists</a>
276
<a href="ch02s10s04.html">10.4. Your First Script-Fu Script</a>
281
<a href="ch02s10s05.html">10.5. Giving Our Script Some Guts</a>
286
<a href="ch02s10s06.html">10.6. Extending The Text Box Script</a>
293
<a href="ch02s11.html">11. Getting Unstuck</a>
69
298
<div class="sect1" lang="en" xml:lang="en">
70
299
<div class="titlepage">
73
<h2 class="title" style="clear: both"><a id="gimp-using-introduction"></a>1. Using Gimp</h2>
78
<a id="id2945854" class="indexterm"></a>
302
<h2 class="title" style="clear: both"><a id="gimp-using-setup"></a>1. Starting Gimp the first time</h2>
306
<a id="id3304559" class="indexterm"></a>
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.
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.
328
Here is a walk-through of the setup process:
330
<div class="variablelist">
333
<span class="term">Welcome</span>
336
<div class="informalfigure">
337
<div class="mediaobject">
338
<img src="../images/using/ui-welcome.png" />
339
<div class="caption">
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.
355
<span class="term">Personal Gimp Directory</span>
358
<div class="informalfigure">
359
<div class="mediaobject">
360
<img src="../images/using/ui-personal.png" />
361
<div class="caption">
363
The Personal Directory screen.
370
<span class="term">User Installation Log</span>
373
<div class="informalfigure">
374
<div class="mediaobject">
375
<img src="../images/using/ui-log.png" />
376
<div class="caption">
378
The User Installation Log screen.
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.
391
<span class="term">Gimp Performance Tuning</span>
394
<div class="informalfigure">
395
<div class="mediaobject">
396
<img src="../images/using/ui-performance.png" />
397
<div class="caption">
399
The User Performance Tuning screen.
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
416
On a Unix system, <tt class="filename">/tmp</tt>
417
might be a good place for the swap.
421
<a id="gimp-setup-monitor-resolution"></a>
422
<span class="term">Monitor Resolution</span>
425
<div class="informalfigure">
426
<div class="mediaobject">
427
<img src="../images/using/ui-monitor.png" />
428
<div class="caption">
430
The Monitor Resolution screen
436
Monitor Resolution is the ratio of pixels, horizontally and
437
vertically, to inches. You have three ways to proceed here:
439
<div class="itemizedlist">
443
Get Resolution from windowing system. (easiest, probably
454
Push the Calibrate Button.
463
<span class="term">The Calibrate Dialog</span>
466
<div class="informalfigure">
467
<div class="mediaobject">
468
<img src="../images/using/ui-calibrate.png" />
469
<div class="caption">
471
The Calibration dialog
477
My monitor was impressively off when I tried the Calibrate
478
Dialog. The "Calibrate Game" is fun to play. You will need a
483
<span class="term">Finally . . .</span>
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
497
<span class="guimenu">Help</span>-><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!
505
<div class="simplesect" lang="en" xml:lang="en">
506
<div class="titlepage">
509
<h3 class="title"><a id="gimp-using-setup-tile-cache"></a>How to Set Your Tile Cache</h3>
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
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.
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:
536
<div class="itemizedlist">
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.
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
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.
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.
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.
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
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
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:
618
<div class="procedure">
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.
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
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.
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.
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
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.
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.
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.
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.
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.
84
702
<div class="navfooter">
86
704
<table width="100%" summary="Navigation footer">
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>
92
710
<td width="40%" align="right"> <a accesskey="n" href="ch02s02.html">Next</a></td>
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>
99
<td width="40%" align="right" valign="top"> 2. Image Window</td>
717
<td width="40%" align="right" valign="top"> 2. Running Gimp</td>