Chapter 13. Tools

Table of Contents

1. The Toolbox
1.1. Introduction
1.2. Tool Icons
1.3. Color and Indicator Area
1.4. Tool Options
2. Selection Tools
2.1. Common Features
2.2. Rectangle Selection
2.3. Ellipse Selection
2.4. Free Selection (Lasso)
2.5. Fuzzy selection (Magic wand)
2.6. Select By Color
2.7. Intelligent Scissors
2.8. Foreground Select
3. Paint Tools
3.1. Common Features
3.2. Brush Tools (Pencil, Paintbrush, Airbrush)
3.3. Bucket Fill
3.4. Blend
3.5. Pencil
3.6. Paintbrush
3.7. Eraser
3.8. Airbrush
3.9. Ink
3.10. Clone
3.11. Heal
3.12. Perspective Clone
3.13. Blur/Sharpen
3.14. Smudge
3.15. Dodge/Burn
4. Transform Tools
4.1. Common Features
4.2. Align
4.3. Move
4.4. Crop
4.5. Rotate
4.6. Scale
4.7. Shear
4.8. Perspective
4.9. Flip
5. Color Tools
5.1. Overview
5.2. Color Balance
5.3. Hue-Saturation
5.4. Colorize
5.5. Brightness-Contrast
5.6. Threshold
5.7. Levels
5.8. Curves
5.9. Posterize
5.10. Desaturate
6. Other
6.1. Overview
6.2. Paths
6.3. Color Picker
6.4. Zoom
6.5. Measure
6.6. Text
6.7. GEGL Operation

1. The Toolbox

1.1. Introduction

GIMP provides a comprehensive toolbox in order to quickly perform basic tasks such as making selections or drawing paths. The many tools contained within GIMP's toolbox are discussed in detail here.

(In case you're curious, in GIMP lingo a "tool" is a way of acting on an image that requires access to its display, either to let you indicate what you want to do by moving the pointer around inside the display, or to show you interactively the results of changes that you have made. But if you want to think of a tool as a saw, and an image as a piece of wood, it probably won't do you a great deal of harm.)

[Note] Note

See Main Windows: The Toolbox for an overview of the toolbox and its components.

GIMP has a diverse assortment of tools that let you perform a large variety of tasks. The tools can be thought of as falling into five categories:

  • Selection tools, which specify or modify the portion of the image that will be affected by subsequent actions;

  • Paint tools, which alter the colors in some part of the image;

  • Transform tools, which alter the geometry of the image;

  • Color tools, which alter the distribution of colors across the entire image;

  • Other tools, which don't fall into the other four categories.

1.2. Tool Icons

Figure 13.1. The Tool Icons in the Toolbox

The Tool Icons in the Toolbox

Most tools can be activated by clicking on an icon in the Toolbox. By default, some tools are accessible only via the menus (namely the Color tools are accessible only either as Colors or as ToolsColors). Every tool, in fact, can be activated from the Tools menu; also, every tool can be activated from the keyboard using an accelerator key.

In the default setup, created when GIMP is first installed, not all tools show icons in the Toolbox: the Color tools are omitted. You can customize the set of tools that are shown in the Toolbox using the Tools dialog. There are two reasons you might want to do this: first, if you only rarely use a tool, it might be easier to find the tools you want if the distracting icon is removed; second, if you use the Color tools a lot, you might find it convenient to have icons for them easily available. In any case, regardless of the Toolbox, you can always access any tool at any time using the Tools menu from an image menubar.

The shape of the cursor changes when it is inside an image, to one that indicates which tool is active (if in Preferences you have set Image WindowsMouse PointersPointer modeTool icon).

1.3. Color and Indicator Area

Figure 13.2. Color and Indicator Area in the Toolbox

Color and Indicator Area in the Toolbox

1.3.1. Color Area

Figure 13.3. Active Colors in the Toolbox

Active Colors in the Toolbox

Color area

This area shows GIMP's basic palette, consisting of two colors, the Foreground and Background, used for painting, filling, and many other operations. Clicking on either of the color displays brings up a Color Editor dialog, which permits you to change it.

Default colors

Clicking on this small symbol resets the Foreground and Background colors to black and white, respectively. Pressing the D key has the same effect.

Swap FG/BG colors

Clicking on the small curved line with two arrowheads causes the Foreground and Background colors to be swapped. Pressing the X key has the same effect.

[Tip] Tip

You can click-and-drag one of these colors directly into a layer: it will fill the whole layer.

1.3.2. Tools Indicator Area

Figure 13.4. Active Brush, Pattern and Gradient in the Toolbox

Active Brush, Pattern and Gradient in the Toolbox

This part of the Toolbox shows the currently selected brush, pattern, and gradient. Clicking on any of them brings up a dialog that allows you to change it.

1.3.3. Active Image Area

Figure 13.5. Active Image in the Toolbox

Active Image in the Toolbox

A thumbnail of the active image can be displayed in this area if the Display Active Image option is checked in Preferences/Toolbox. If you click on this thumbnail, the Images dialog is opened, useful if you have many images on your screen. You can also click and drag this thumbnail to an enabled XDS[8] file manager to directly save the corresponding image.

1.4. Tool Options

Figure 13.6. Tool Options Dialog

Tool Options Dialog

Tool Options dialog of the Paintbrush tool (with docking bars at its top and bottom).


If you have things set up like most people do, activating a tool causes its Tool Options dialog to appear below the Toolbox. If you don't have things set up this way, you probably should: it is very difficult to use tools effectively without being able to manipulate their options.

[Tip] Tip

The Tool Options appear beneath the Toolbox in the default setup. If you lose it somehow, you can get it back by creating a new Tool Options dialog using WindowsDockable DialogsTool Options and then docking it below the Toolbox. See the section on Dialogs and Docking if you need help.

Each tool has its own specific set of options. The choices you make for them are kept throughout the session, until you change them. In fact, the tool options are maintained from session to session. The persistance of tool options across sessions can sometimes be an annoying nuisance: a tool behaves very strangely, and you can't figure out why until you remember that you were using some unusual option the last time you worked with it, two weeks ago.

At the bottom of the Tool Options dialog appear four buttons:

Save Options to

This button allows you to save the settings for the current tool, so that you can restore them later. It brings up a small dialog allowing you to give a name to the array of saved options. When you Restore options, only saved sets for the active tool are shown, so you need not worry about including the name of the tool when you assign a name here.

Restore Options

This button allows you to restore a previously saved set of options for the active tool. If no option-sets have ever been saved for the active tool, the button will be insensitive. Otherwise, clicking it will bring up a menu showing the names of all saved option sets: choosing a menu entry will apply those settings.

Delete Options

This button allows you to delete a previously saved set of options for the active tool. If no option-sets have ever been saved for the active tool, the button will be insensitive. Otherwise, clicking it will bring up a menu showing the names of all saved option sets: choosing a menu entry will delete those settings.

Reset Options

This button resets the options for the active tool to their default values.



[8] See [XDS].