Gimp Userguide
Gimp Userguide
Linux® is the registered trademark of Linus Torvalds in the U.S. and other countries.
Mac and Mac OS are trademarks of Apple Inc., registered in the U.S. and other countries.
UNIX® is a registered trademark of The Open Group.
Windows is a registered trademark of Microsoft Corporation in the United States and other
countries.
Table of Contents
About This Tutorial............................................................................................................5
Organization ...........................................................................................................5
Assumptions ...........................................................................................................6
Conventions............................................................................................................6
The GIMP Basics................................................................................................................7
Working with Image Files.......................................................................................7
Working with Layers ..............................................................................................8
Working with Filters ...............................................................................................9
Working with Color ................................................................................................9
Getting Started .................................................................................................................11
Starting the GIMP.................................................................................................11
Creating a New File ..............................................................................................16
Opening a File ......................................................................................................17
Using Undo ..........................................................................................................18
Saving a File.........................................................................................................19
Exiting the GIMP..................................................................................................21
Creating a Pencil Sketch from a Photo ............................................................................23
Index .................................................................................................................................30
Table of Contents 3
About This Tutorial
The GIMP (GNU 1 Image Manipulation Program) is a free program to create and edit digital
images. You can use the GIMP to touch up photos, lay out web pages, make digital art,
produce logos, create animations, and perform many other useful and creative graphic
functions. The shadow effect used on the cover title and the screen shots used throughout
this tutorial were produced using the GIMP.
The GIMP is available for the Linux, Unix, Windows XP, and Mac OS X operating systems.
This tutorial gives an overview of some basic digital editing concepts and shows you how to
get started using the GIMP.
This tutorial gives you a brief introduction to some digital editing concepts, shows you how
to perform basic GIMP operations, and leads you through an example.
The digital editing concepts — working with image files, layers, filters, and color — are
explained and then demonstrated in the example that follows. The example gives step-by-
step instructions for creating a pencil sketch or drawing from a color photo.
Organization
1
GNU (pronounced g-noo) refers to a project called “GNU’s Not Unix” that produced the
free software operating system called Linux. The Gimp was first distributed with Linux but
is now available for other platforms as well.
This tutorial makes two assumptions about your readiness to begin using the GIMP:
This tutorial assumes you have the GIMP already installed on your computer. If you
don’t, check the system requirements and follow the download and installation
instructions found on the GIMP website http://www.gimp.org
This tutorial assumes you have a photo already loaded onto your computer. If you
don’t, these are some of the ways you can get one: upload a photo from your digital
camera, import a picture using a digital scanner, download an image from the web2,
or ask a friend to email you a photo.
Conventions
The step-by-step instructions for the examples in this tutorial use these conventions:
Instruction: Action:
Click Click the left mouse button.
Double-click Click the left mouse button twice in
rapid succession.
Right-click Click the right mouse button.
Ctrl-Key Press the Ctrl key and the indicated key
simultaneously.
2
Because images on the web may be subject to copyright, get permission from the image’s creator
before using one.
Digital images are stored on your computer using special file formats. The most commonly
used file formats are GIF and JPEG, and to a lesser extent, PNG. Generally speaking, the
differences among them have to do with the number of colors, level of detail, and types of
images they can handle, and whether or not they are widely supported by the major internet
browsers. Other technical considerations such as file compression play a role too.
JPEG files are used for storing images with lots of color and detail like photos, while GIF
supports drawings and simple artwork that use fewer colors. GIF is the standard image file
format for the web. JPEG files can be used as well, but they tend to be larger and take
longer to load into your browser.
PNG is a newer file format that improves upon GIF and will grow in popularity as browser
support increases.
File Type
The GIMP supports dozens of other file types besides the three mentioned here. The GIMP
has its own file type called GIMP XCF. If you are working with a file and want to save it and
come back to it later, GIMP XCF is the file format you should use because it preserves
layers. (Layers are explained in the next section.) When you have finished your work, you can
export the image to a different format.
You can think of a layer as a single transparency or sheet of acetate on which you can draw
or paint. Layers are stacked on top of one another, and each layer can affect the look of the
layers below it. In digital editing, layers are used to separate the elements in an image so you
can work on one part of an image without affecting the rest. For example, by using layers
you can adjust the color in one part of your image without disturbing the color anywhere
else.
As in real photography, digital imaging filters allow you to adjust lighting for your pictures.
Using the GIMP, you can add or filter out light or apply shadows to your images.
The GIMP has dozens of filters. Among them is the Selective Gaussian Blur which allows
you to blur the background of an image in order to make the foreground stand out. This
filter is used in the example given later in this tutorial.
You can use the GIMP to create color artwork, color-correct a photo, or change a color
image to black-and-white or grayscale. You can enhance your images by making subtle
adjustments to hue, luminosity, saturation, and contrast. You can invert colors, so that colors
are replaced by their color complements (in grayscale, black is swapped for white and vice-
versa), and you can add texture and patterns. If you wish, you can remove color completely.
To start the GIMP from your desktop, double-click on the GIMP icon.
Getting Started 11
The GIMP splash window briefly displays while the GIMP starts.
After a couple of seconds or less, three windows are displayed: the GIMP Image
Manipulation Program window (hereafter referred to as the main window), the Toolbox, and
the Layers dialog.
The main GIMP window is where your image is displayed. If you open more than one image
file at a time, each will be displayed in its own main window. If you are creating a new image
from scratch, the main window provides a blank canvas (working area) on which you can
draw or paint.
The Toolbox contains selection tools (operations that allow you to select parts of your image
to work with) and transformation tools (for example, operations to move or rotate you
image) and controls for using color.
Getting Started 13
14 Getting Started with The GIMP
The Layers dialog provides controls for managing layers. It displays the layer stack and
indicates which layer is the active layer. From here you can adjust transparency, make your
layers visible or invisible, and apply blending modes.
The controls in the Toolbox and the Layers Dialog are also available as menu options on the
main window.
Getting Started 15
Creating a New File
2. Under Places, click on a place in your computer where your image folders are located.
The GIMP will display the list of folders under the Name heading. Alternatively, you
can use the top row of buttons to locate folders.
Getting Started 17
3. Double-click to select a folder and keep selecting folders until you have located your
image file. (You may have to repeat selecting folders if you use subfolders.)
4. Click on the image file (the image will appear in the Preview area of the dialog), then
click Open. The GIMP will display your image in the main window.
Using Undo
For all practical purposes, the GIMP supports an unlimited level of undo. This means that
should you want to back out an editing operation, revert to a previous version of your image,
experiment with effects, or simply correct a mistake, you can do so easily.
To undo the last operation, click Edit > Undo in the main window.
If you have opened an existing file and want to save your image in the same file, click File >
Save.
If you want to save your image in a new file, follow these instructions:
1. Using the main window, click File > Save As. The Save Image dialog appears:
Getting Started 19
2. Under Places, click on a place in your computer where you image folders are located.
The GIMP will display the list the folders under the Name heading. Alternatively, you
can use the top row of buttons to locate folders.
3. Double-click to select a folder and keep selecting folders until you have located the one
in which you want to save your image. (You may have to repeat selecting folders if you
use subfolders.)
4. In the Name field at the top of the menu, type in a filename including the file extension
(.jpg for JPEG or .gif for GIF), and click Save.
5. Depending on which file extension you type, another dialog will display. In either case,
click Save.
To exit the GIMP, click File > Quit. If you have open unsaved files, you’ll be prompted to
save the files or to discard the changes before the GIMP exits.
Getting Started 21
Creating a Pencil Sketch from a Photo
This section gives step-by-step instructions for creating a pencil sketch from a photo. This
example demonstrates the use of layers, blending modes, color, and filters.
Before you begin, choose a color picture or photo that already resides on your computer.
This example starts with the following image:
Alternatively, you can accomplish the same step using the Layers dialog. The layer stack
contains a row for each layer, represented as thumbnail images. (The eye icon indicates
that the layer is visible.) Right-click on the top layer, then from the pop-up menu click
Duplicate Layer.
6. Using the Layers dialog, position your mouse on the top layer and right-click. Using the
pop-up menu, click Merge Down. The GIMP merges the top two layers so you now
have two layers instead of three.
7. Apply the first blending mode to the image: Using the main window, click Layer >
Duplicate. Using the Layers dialog, select Dodge from the Mode drop-down list at the
top of the dialog. Using the main window, click Layer > Merge Down.
A I
active layer, 15 installing the GIMP, 6
B J
Blending modes, 9 JPEG, 7
C L
canvas, 12 layers
color, 9 active, 15
creating files, 16 definition, 8
managing, 15
Layers dialog, 15
D Linux, 5
digital editing, 7
Dodge mode, 9 M
download, 6
Mac OS, 5
main window, 12
E managing layers, 15
exiting the GIMP, 21 Multiply mode, 9
F O
file types, 8 opacity, 28
files opening files, 17
creating, 16 operating systems, 5
extensions, 20
opening, 17 P
saving, 19
types of, 7 pencil sketch, 5
PNG, 7
G
Q
GIF, 7
GIMP icon, 11 quitting the GIMP, 19
S U
saving files, 19 undo, 18
selection tools, 13 Unix, 5
Selective Gaussian Blur, 9
splash window, 12
starting the GIMP, 11
W
system requirements, 6 Windows XP, 5
T X
Toolbox, 13 XCF, 8
transformation tools, 13
0820-6371188