Gimp Tutorial
Gimp Tutorial
0
By Aaron Russell
2004
This tutorial is intended to get you started with using the Gimp, or
Gnu Image Manipulation Program. The Gimp is a powerful, free,
image editing program that is available for Unix, Windows, and
Macintosh computers. The Gimp can be used for many of the same
purposes as Photoshop, such as preparing images for use on a
website and retouching digital photographs. This tutorial uses the
Windows version as an example, but the Unix and Macintosh
versions are very similar. This tutorial refers to Gimp 2.0.
Download and Installation
In this section of the tutorial, we will download the Gimp and install
it on a computer.
We'll follow the first link to a site that provides downloads for
Windows:
Now the Gimp has been installed on this computer. Because the box
labeled "Launch the Gimp" was checked on the final page of the
installer, the Gimp application will start up automatically.
The first time the Gimp runs on a computer, you need to answer
some configuration questions in a process called the "Gimp User
Installation." At the first screen, we'll click "continue":
On the next screen, the program alerts us that it's going to create
some configuration files, and we'll just click "continue" and let it do
that:
On the next page, we set the size of the "tile cache," which affects
the amount of RAM that the Gimp uses when it runs. For now, we
can leave it at the default of 64 megabytes, but if you have a
computer with a large amount of RAM, you could set this higher
and get better performance out of the Gimp. If you have a computer
with a small amount of RAM, or you needed to run a lot of
programs at once, you might try setting this lower:
This page also contains a place to set where the swap folder is,
which is where the Gimp stores undo information and data that's in
excess of what will fit in the tile cache. We'll just leave that in its
default location.
On the next page, we tell the Gimp what our screen resolution is.
You can either check "get resolution from windowing system,"
which allows the system to tell the Gimp what its resolution is, or
you can uncheck that and set the resolution manually or click the
"calibration setup" button, which will let you calibrate your screen
with a ruler. For now, we'll just choose to get resolution from the
windowing system:
Now we're done configuring the Gimp and it will start up. When the
Gimp starts, it displays a "tip," to give you a little pointer about how
to use the Gimp. You can make it stop appearing by unchecking the
box in the lower left-hand corner, but when you first start using it,
it's a good idea to read the tips:
Getting Started
Start the Gimp by selecting "Gimp 2" from the "Programs" list in the
Start menu. When the Gimp starts up, it presents you with a "tip of
the day." Read this if you want to, and then close the window:
When the Gimp starts up, there are two windows open. One of these
is a toolbar that contains icons for a number of tools used in
working with images, tools for selecting colors, and also a group of
options for the currently selected tool. The other window contains
different panes for working with layers, channels, and paths at the
top, and panes for working with brushes, patterns, and gradients at
the bottom.
Here is the
toolbar window
and the layers,
channels, and
paths window:
The first thing we're going to do now is open an image file to work
with. We'll go to the "File" menu on the toolbar and choose "Open":
Use the dialog box that pops up to navigate to the file that you
want to open:
The picture that I've opened is much too big to view on the screen
with these other windows, so I'm going to resize the window and
then change the magnification that the image is shown at.
Cropping Images
The next thing I'm going to do is crop this extra white space out
from around the image. One method for doing this is to select the
"crop" tool in the toolbar, select an area with the mouse, and click
"crop" on the pop-up, which crops the image to the selected area:
Choosing "Autocrop":
The result:
Saving in JPEG Format
Now let's save the image as a JPEG, which would be appropriate for
use on a website. Under the "File" menu on the image, choose "Save
as," then use the dialog box that pops up to indicate where you
want to save it:
You can choose the file type you want to save as in the pull down
menu in the lower right-hand corner. You can also choose to
determine file type "By Extension," which means if we change the
extension from ".tiff" to ".jpg," then the image will automatically be
saved as a JPEG. I'm going to name this file "little_wilber.jpg" and
click "OK."
Next, the "Save as JPEG " options window will open. In this window
we can choose among different options for saving the file:
If we click the box labeled "Preview in image window," we'll be able
to see the effects of the settings that we're using on the image. As
we slide the "Quality" slider, you can see what the image will look
like after it's saved.
Now we'll click "OK," and we've succeeded in resizing, cropping, and
making a jpeg from this image.
Working with Text and Layers
In this section of the tutorial, you will learn how to add text to your
images and start working with layers.
Adding Text
Let's choose a color for our text. Clicking the color button produces
a color selection pop-up, which gives you several methods for
choosing color. We'll go with the default one for now and select a
nice yellow:
Choosing a yellow:
Now, if we click in the image,
the Gimp Text Editor appears
in a pop-up window:
Layers
Now we'll add another layer. Go to the "Layer" menu on the image
and choose "New Layer":
Now we'll fill the new layer with a red color. Select the
foreground color by clicking on this area in the middle
portion of the toolbar:
We get the same interface to select color that we had earlier when
selecting the text color, and we'll use this to choose a red:
If we take the fill tool, which looks like a paint bucket pouring,
select it, and then click on the image, the image becomes
completely filled with red:
Layer Stacking Order
You can see in the layers list that the "Red Fill" layer is above the
other two layers:
When you're working you can also hide layers by clicking on the eye
that's next to each one:
Layer Opacity
Now we're going to save our progress. When you save a file that has
mutiple layers, you need to save it as a Gimp file, which preserves
all of the layer information. Gimp files use the three-letter
extension ".xcf."
In this section of the tutorial, you will learn to use the Gimp's
selection tools.
Rectangular Selection
You can use the Gimp's selection tools to select areas within layers
to work on. For example, if we select the "Red Fill" layer, choose the
rectangular selection tool,
The area that we selected has the red fill cut out of it:
Note that cutting did not affect the background layer underneath,
just the selected layer.
Elliptical Selection
With the lasso tool, we can select freeform areas. In this case, I've
used the lasso tool to draw a rough outline of the person in the
image:
Let's choose the paintbrush tool and select a color just as we did
when working with the fill tool, and then choose a brush from the
brush selection area:
When we click and drag on the image, the paintbrush only paints
within the selected area:
Selection by Color
You can adjust the tolerance for what color counts as part of the
area to be selected by working with the "Threshold" slider:
When we click on a
gray area, for
example, all areas
throught the layer
that match it in color
are selected (in this
example the red
layer is hidden for
clarity). Notice that
the selection has not
been restricted to
one continuous area,
as in the case of the "magic wand" tool, and many separate areas of
the image are selected at once.
Filters
If you'd like to get more information about using the Gimp, a good
place to start is the Gimp website at www.gimp.org:
By following the link to "Documentation," you'll find a list of links to
the Gimp user manual in various languages: