Professional Documents
Culture Documents
GIMP
This work is licensed under a Creative Commons This document has been
Attribution-ShareAlike 3.0 Unported License. produced with the financial
assistance of the European
Union.
The views expressed herein
http://creativecommons.org/licenses/by-sa/3.0 are those of the author and
can in no way be taken to
reflect the official opinion of
the European Union.
GIMP 2
Introduction ________________________________________________________ 9
GIMP Preferences ___________________________________________________ 10
Environment __________________________________________________________ 11
Interface______________________________________________________________ 12
Theme _______________________________________________________________ 13
Help System ___________________________________________________________ 13
Tool Options __________________________________________________________ 13
Toolbox ______________________________________________________________ 14
Default Image _________________________________________________________ 14
Default Grid ___________________________________________________________ 14
Image Windows ________________________________________________________ 14
Appearance __________________________________________________________________ 15
Title & Status _________________________________________________________________ 15
Display _______________________________________________________________ 15
Color Management _____________________________________________________ 16
Input Devices __________________________________________________________ 16
Windows Management __________________________________________________ 16
Folders _______________________________________________________________ 16
CONCLUSIONS ________________________________________________________________ 17
Selections _________________________________________________________ 43
Rectangle and ellipse selection ____________________________________________ 43
Free selection__________________________________________________________ 44
Fuzzy selection _________________________________________________________ 44
Selection by color ______________________________________________________ 45
Scissors selection _______________________________________________________ 46
Foreground selection____________________________________________________ 46
Quick Mask selection____________________________________________________ 47
Selection with an Alpha channel ___________________________________________ 48
Cloning _______________________________________________________________ 92
Perspective cloning _____________________________________________________ 94
Healing _______________________________________________________________ 97
Smudging ____________________________________________________________ 100
Blur/Sharpen _________________________________________________________ 100
Colour picking ________________________________________________________ 103
Airbrushing __________________________________________________________ 104
Dodging/Burning ______________________________________________________ 104
Erasing ______________________________________________________________ 105
Painting with ink ______________________________________________________ 105
Filters____________________________________________________________ 177
Blur filters ___________________________________________________________ 178
Blur ________________________________________________________________________ 178
Gaussian blur ________________________________________________________________ 179
Selective gaussian blur ________________________________________________________ 181
Pixelize _____________________________________________________________________ 182
Motion blur _________________________________________________________________ 185
Jigsaw_______________________________________________________________ 254
Grid _______________________________________________________________________ 256
LAVA ______________________________________________________________________ 258
Line nova ___________________________________________________________________ 261
Circuit _____________________________________________________________________ 263
Grid_________________________________________________________________ 279
Image Properties ______________________________________________________ 281
Introduction
Gimp1 is a graphics editor to work on one or several images which are opened in
separate windows. The programme does not open several images in one window or an
image outside the window. Even though it allows you to work on several images,
remember that each of them takes memory space. GIMP has a very efficient memory
management system, but remember that smooth working on large images requires
expanding the random-access memory.
Many Adobe Photoshop users ask whether GIMP may be considered as an analogue of
Adobe Photoshop. The answer is yes and no. On the one hand, they are two different
programs with no common roots; on the other hand, certain GIMP tools are similar to
Photoshop tools. Thus, it may be claimed that if you can work with Photoshop, you will
fast pick up GIMP.
If we compare a painting that is hanging on the wall with the image opened in GIMP, the
hanging painting is a solid canvas, while the image opened in GIMP is a collection of
canvases, where each of them is in a different layer. The most basic image may have
only one layer. If there are several layers, they are stacked on each other. Layers may be
transparent. If they are, you can see the image below it. Layers offer more options to
create and modify images. They may be reversed, deleted, combined or temporarily
hidden.
Another term that is very frequently used in GIMP is a channel. Channels are the
smallest components from which an image is constructed. Every channel in a layer has
the exactly same size as the layer it belongs to and consequently consists of the same
pixels (points). Every pixel2 has a certain colour value, the exact meaning of which
depends on the colour model. In the extract channel the value denotes how pixels are
extracted, and in the Alpha channel the value denotes how transparent the
corresponding pixels are.
When you work on an image, very often you want a part of it to be affected. The
selected area is framed by a moving dashed line (the so-called "marching ants"), a so-
called path. It is important to select the part of the image correctly because the desired
result is received applying the appropriate tool to the selection. GIMP has many tools to
select and process the area quickly.
GIMP has plug-ins, i.e. external programmes that may be integrated into the GIMP
menu. By default, the standard GIMP has a certain set of plug-ins. They help realise any
GIMP function.
Always feel free to experiment with GIMP. As any other editor, GIMP saves the history
of actions, so it is always possible to undo the last ones performed. The number of undo
steps depends on their complexity since actions are saved in the memory. It may be
possible to make many simple editing actions, but if they are very complex, you can
undo only three or four of them. Remember that same as working with any other editor,
if the image is saved or closed, it is impossible to undo any action because when closing
the file the history of all actions is deleted.
GIMP opens a new window for every tools menu. Why? So that the programme could
operate in various OS3.
GIMP Preferences
Apply EditPreferences command to open the preferences dialog. All preferences are
divided into fourteen sections arranged on the left of the Preferences dialog (1). Once
you click the mouse pointer on the section title, the window of respective options opens
on the right of the dialog box (2):
3
Operating system (OS) is special software that ensures the user interface and the management
of the computer's hardware, applications and data.
11
Environment
This dialog lets you select the preferences for the working environment: sizes of
resources allocated, monitor parameters, size of the image saved.
Minimal number of undo levels must be set in coordination with Maximum undo
memory. When the first value is increased to 10, the second value must be increased to
at least 128 Mb because the saving of each additional undo operation requires memory.
Tile cache size means the size of the random-access memory which saves your opened
image and any editing actions performed with it. If the program requires more memory
than this, it will take it from the disk, which may cause a dramatic slowdown of the
program. In that case, it may take several moments until the program swaps to disk.
Maximum new image size – if you try to create a new image larger than the specified
size (128 Mb), the program will ask you to confirm that you really want to do it.
Size of thumbnails – this option allows you to set the size of the thumbnails shown in
the File Open dialog. By default – 128x128 pixels; 256x256 pixels will allow a better
review of the image; None – the dialog will not show a thumbnail of your opened image.
Maximum file size for thumbnailing – if the size of the graphic file exceeds the specified
maximum size (4 Mb), GIMP will not generate a thumbnail for it.
GIMP 12
Confirm closing of unsaved images – when the file is closed without saving, GIMP asks
whether you really don't want to save the image.
Keep recorder of used files in the Recent Documents list – the program saves the
names of most recently used files (10) and the paths to them. Therefore, you can use
FileOpen Recent command to open a drop-down list where you can choose the file
that you want to open.
Interface
It is a user's interface. You can adjust the following: to preview layers and channels; to
set the size of preview window; navigation preview size (it opens in the lower right
corner of the image window by pressing the icon , keyboard shortcuts.
Enable layer & channel previews – layer and channel dialogs show miniature previews
of a certain object. If the function disturbs your work, disable this option.
Show menu mnemonics (Access keys). Once you press the Alt key, each of the GIMP
menu entry names displays an underlined letter. If you hold the key down and click the
underlined letter, it opens the list of commands under the menu entry. If it disturbs your
work, disable this option.
Use dynamic keyboard shortcuts. GIMP allows you to create keyboard shortcuts when a
certain key combination is pressed while the mouse pointer hovers over the desired
menu entry. You need to click the shortcut to start the command.
Note!
E.g., we know that after clicking the default keyboard shortcut CTRL+C, the EditCopy
command will be applied to the selected area. Open the menu entry Image, position the
mouse pointer on the Canvas Size command and press the keyboard shortcut Alt 1.
From now on, when working with an image, you will always open the Set Image Canvas
Size dialog by clicking the keyboard shortcut Alt+1.
It is advisable to keep this option disabled, because the user who is not aware of this
option may accidentally change default keyboard shortcuts.
Pressing the Configure Keyboard Shortcuts button brings up a special editor which
allows you to assign keyboard shortcuts to menu entries.
Save keyboard shortcuts on exit. Check this option if you want to save the keyboard
shortcuts assigned to the commands selected.
The Reset Keyboard Shortcuts to Default Values button resets keyboard shortcuts to
their default values.
The Remove All Keyboard Shortcuts button allows you to remove all keyboard shortcuts
assigned to commands from the program settings.
13
Theme
This section lets the user select the appearance of the user interface, including icons,
fonts, etc. There are two default themes: Default, which is best for most users; Small ,
which may be preferable for those with small monitors (14”-15”). You can also find a
number of themes online by entering GIMP themes to the search engine. Once you find
the required theme, extract it and save it to /usr/share/gimp/2.0/themes. A new theme
is applied by pressing the Reload Current Theme button.
Help System
It lets you customize the behaviour of the GIMP help system. Users rarely find it
necessary to change the default settings which meet everybody's needs.
Tool Options
This section lets you customize the following tool options:
If checked, the Save tool options on exit checkbox shows that all options adjusted to
tools will be saved after exiting the program.
Pressing the Save Tool Options Now button will save the options adjusted to all tools.
The Reset Saved Tool Options to Default Values button resets all tool options to default
values.
Snap distance. It shows how close a point must be to a guide or grid in order to be
snapped onto it. The distance will be given in pixels.
Default interpolation. When you change the size of the image, each additional pixel is
calculated by means of one of the four interpolation 4 methods, which use several pixels
in the source image. Your options:
1. None– the fastest but quite crude method: you should only consider using it if
your computer is speed-impaired and system resources are lacking;
2. Linear– the default option good enough for all users;
3. Cubic – the slowest method but it offers the highest quality interpolation.
Brush, Pattern, Gradient – you can decide which tools should have their settings.
Note!
Do not change these settings.
If the Set layer or path as active checkbox is checked, it sets the behaviour of the Move
Tool with an active layer or path.
4
Interpolation [Lat. interpolation] – approximation of interim values of the mathematical function
using its known values
GIMP 14
Toolbox
You can choose additional buttons to be moved to the toolbox. If the checkbox is
checked:
2. Show active brush, pattern, and gradient – the button appears in the
toolbox, which shows: active brush used for painting, blurring/sharpening
operation; pattern – for filling the area of the image; gradient – for smooth
transition from one color to another. Click the mouse pointer on one of the
elements to open the desired dialog;
3. Show active image – adds the button with a thumbnail of the active image
to the toolbox. When you click the mouse pointer on the image, it opens the list
of active images used for moving to another image.
Default Image
This section lets you customize the default settings of your newly created image:
Image Size (Width and Height);
Resolution (X resolution and Y resolution);
Color space;
Fill with (Background color);
Comment.
Default Grid
The grid helps you to align the elements while painting. The grid can be toggled on or off
using ViewShow Grid command. Here the user can set the size of grid squares at his
discretion, to choose foreground and background colors, style of grid lines and line
offset.
Image Windows
The section lets you customize the settings of image windows.
15
If the Use “Dot for dot” by default checkbox is checked. This option means that each
pixel in the image is scaled to one pixel on the display. If this option is disabled, the
image size is determined by X resolution and Y resolution.
Marching ants speed. When the area in the image is selected, the selected part will be
shown as a marching dotted line. This option regulates the speed of marching.
Resize window on zoom . If this option is checked, then each time you zoom the image,
the image window will automatically resize.
Resize window on image size change. If this option is checked, then each time you
change the size of the image, the image window will automatically resize.
Initial zoom ratio - lets you choose the rules of resizing the image when it is first
opened. There are two options:
1. Fit to window – when the image is opened, it fits on your display (if your
opened image is too large to fit on your display, the size of the image that fits on
your display will be automatically selected);
2. 1:1 – the image will remain as it is. If the image is too large to fit on your display,
then the image window will show only a part of it.
While space bar is pressed – this option determines the actions to be performed while
the space bar is pressed.
1. If the Show brush outline checkbox is checked, then when you use the paint
tool, the outline of the brush will be shown on the image as you move the
pointer around.
2. If the Show pointer for paint tools) checkbox is checked, you will see the mouse
pointer while painting.
Pointer mode – you may choose one of the three mouse pointer modes: Tool icon; Tool
icon with crosshair ; crosshair only).
Appearance
This subsection lets you choose the settings which control the appearance of image
windows in two modes: normal mode; full screen mode.
This subsection lets you choose the formats of the title and status of the image window.
Display
GIMP 16
This section contains the settings which let you recalibrate (adjust) the resolution of
your monitor and to customize the way transparent parts of the image are represented.
These settings are rarely used by the user.
Color Management
The section lets you choose color profiles for the monitor and printing device.
Input Devices
By default, GIMP uses a single input device – the mouse. It is possible to connect other,
additional devices to the computer (e.g. graphic tablet). When the device is connected
and the drivers are installed, you have to adjust the required settings for the device to
work in GIMP. For that, use the Configure Extended Input Devices button.
Windows Management
This section lets you customize the way windows are handled in GIMP. The program
does not manipulate its windows directly. It sends requests to the operating system
window manager; thus, certain functions described here may not be correct. What
settings can be adjusted in this section?
Hint for the toolbox - you may choose the style of the Toolbox:
1. Normal window – the window will be like any other window;
2. Utility window – the window will always be behind the active image window;
3. Keep above – sometimes this is the best option because it means that you will
never "lose" the Toolbox.
Hint for other docks – the option is equivalent to the above-described, except that the
window type is specified for other docks.
4. If the activate the focused image checkbox is checked – when you focus the
image window, it becomes active. Therefore, it will be the target for any image-
related actions you perform. It is better to disable this option because this
option is not always convenient to work with.
Folders
This section allows you to set temporary, swap and object storage directories:
1. Temp folder – this folder is used for temporary files created while processing
the image and automatically deleted when the job with GIMP is done. A
subdirectory called tmp is most commonly used. But if the disk is very cramped
for space, you can change it to a different directory. It is important that the
directory exists and is writable by you;
2. Swap folder – it may be a very large folder, i.e. take several hundreds Mb.
Therefore, it must be located in a high-performance disk with plenty of free
17
space. If you can choose between SATA and IDE disk drive, it is better to choose
SATA disk drive for a directory because it works much faster.
Object directories show the path to objects. Several directories may be specified for the
search of objects of the same type. Linux must contain two directories if the user wants
to save patterns, brushes, gradients and other objects.
CONCLUSIONS
File formats
This format supports many colour models, except for the printing model CMYK. The
compression algorithm RLE does not lose information. The colour depth is from 1 to 48
bits, i.e. at a maximum depth one image point takes 6 bytes9. For example, a 640x480
image with a 48-bit colour depth takes 640x480x6=1,843,200 bytes=1.49 Mb10.
Files take rather much space, and users are not always satisfied with the quality of a
printed image. This format is not suitable for transferring images by the Internet, but it
saves an image without losing its quality. The maximum size of an image is 65535x65535
pixels. This format is used when high-quality colour transfer is required. Before
transferring such image, it is recommended to archive it.
5
RLE – Run Length Encoding.
6
DDB – Device Dependent Bitmap.
7
The structure of a raster graphics image, consisting of dots neatly arranged in rows and
columns, is visible when zoomed in very closely.
8
DIB – Device Independent Bitmap.
9
A line consisting of a certain number of bits is considered as a set and usually represents a
symbol or a part of a symbol. One byte usually consists of 8 bits.
10 10 10
Non-system unit of memory and data is 2 = 1024 bits, abbreviated Kb. 2 = 1024 kilobytes,
abbreviated Mb.
GIMP 18
This graphics format is very popular on the Internet. It is supported by all browsers and
most of the graphics editors. Due to the qualities of a compression algorithm (limitation
of the colour palette up to 256 colours or less, compression with expander according to
horizontal lines), it may deliver very small graphics files, where the initial image has large
areas of uniform colour. However, it is not suitable or barely suitable for saving photos
and images with large horizontal gradients. The file saved will be large and of rather
average quality.
GIF has another wonderful quality, namely line by line data storage. Lines are grouped
and their order in the file is changed. This leads to the possibility to upload the image in
several stages. When we have only part of the file, we can see it all only with a lower
resolution. This possibility is widely used in websites. Here, the user has to remember
that such saving increases the size of a file.
Advantages of the format include good compression, animation support and line by line
data saving. Transparency is only partially supported.
The drawback of the format is low colour depth (8 bits) and a limited number of colours
(256).
11
Lempel-Ziv-Welch.
19
When you save a file in this format, you can indicate the quality of the image saved. The
highest quality is 90%. The remaining 10% is not visible to a human eye, but it increases
the file size. The main drawback is the loss of quality. If a file is highly compressed, it
loses colours, brightness, tiny details. Even though this format has many drawbacks, it is
popular and possesses certain merits. Almost all digital photos are transferred in this
format. It is always used when high colour transfer definition is not required.
PNG is specifically designated for the Internet, replacing GIF and JPG formats. This
format saves colours with 8-bit (PNG – 8) encoding and is similar to GIF in terms of
characteristics. Saving an image in 24-bit (PNG – 24) encoding ensures high-quality
transition qualities and a good level of photo compression. The format supports
transparency. The only drawback is that it is not supported by old browsers and a few
simple graphics editors.
This format is characterised with the best GIF qualities, and additionally supports the
unlimited number of colours and transparency. If an image has few colours (2–16), it is
recommended to save it in GIF format: a file will be smaller and PNG does not support
animation.
The format saves images of RGB, CMYK, YcbCr, CIE Lab colour models, mono (two
colours), black-and-white, indexed colours. It also supports images with 8, 16, 32, 64 bits
per channel.
Files in this format may be compressed. The level of compression depends on the
selected algorithm:
GIMP 20
LZW – a method used by GIF
JPEG – a compression method, the same as in case of JPEG format
ZIP – common ZIP format allowing lossless compression
CCITT Fax 3 & 4 – a method used in faxes
JBIG12 – lossless compression, but the quality is better than using ZIP
H.264 – a compression method used by MacOS (Apple)
This format is used by certain digital cameras.
Files in X PixMap (XPM) format are also text files used in the X Window System. For the
first time this format was used in 1989. Compared to XBM, it takes less space since its
structure is simpler and supports colour transparency.
12
Joint Bi-level Image Experts Group
21
If you need to change a folder or a disc, click on Browse for other folders, the dialog
expands and in the Places drop-down list select a folder and a disc. A folder opens in the
Name list.
To load an image into a new folder, create it in the Places list selecting a disc where a
In the section
To save a file in the computer memory with another extension, press Select File Type
(By Extension), a dialog expands and a File Type drop-down list opens, where you can
choose a file format. For example, if you select PNG format and
GIMP 22
press the Save button, an additional Save as PNG dialog opens, where parameters of the
file saved in the format are set:
Conclusions
To save an image without losing its quality, use BMP; PNG; TIFF.
To save a compressed image without losing its quality, use PNG; TIFFwith regard to the
used compression algorithm.
To transfer an image via the Internet and to create graphical elements for Web
interface, use GIF; JPEG; PNG.
Animation can be stored only using GIF, but it does not support a full Alpha channel. To
save an image with this channel, it is recommended to use PNG.
Photos are stored in JPEG format, and images with a high colour depth (more than 32
bits) in TIFF. When saving images in JPEG, you can select the image quality (Quality) in
percentage.
23
There is no need to select more than 90% as the difference between 90% and 100% is
not visible for a human eye.
1 – title bar;
2 – menu bar: clicking on a particular menu item opens a respective drop-down list;
3 – Toolbox menu consisting of two parts:
tool icons (5);
tools options (6);
4 – Layers, Channels, Paths, Undo – Brushes, Patterns, Gradients dock.
7 – image window
GIMP 24
This is a minimal setup. The Layers, Channels, Paths, Undo – Brushes, Patterns,
Gradients dock is always useful when working on an image, it is recommended
therefore not to close it.
Menu items:
File menu contains commands to create, open, save documents, set up page
(parameters), print, close.
Edit menu contains commands to undo the last actions, copy, paste, bugger,
clear, fill, preferences, keyboard shortcuts, units.
Select menu contains commands to select the desired part of the image
according to a certain quality, to change the selection, work with mask, save to
channel.
View menu contains commands to change the scale, work with utilities (rulers,
menubar, statusbar and scrollbars), show selections, work with grid and guides.
Image. The image menu contains commands to duplicate, transform, scale,
crop an image, work on its layers, enter additional guides and grid to facilitate
working.
Layer. All commands that are necessary when working on a layer, i.e. new
layer, duplicate layer, delete layer, merge down and author layer, masks,
transparency settings, scale layer.
Colors. All commands set color models, select and create your own colours, set
their brightness, saturation, hues, lightness, contrast, adjust colour levels.
Tools. This menu item duplicates the Toolbox bar. Here you can select a tool to
work with.
Filters. The first section shows all filters that were used, recently used. You can
also reset all filters. The second section contains a list of structured filters that
are grouped by their effect on the image.
Windows. You can open any dialog, Toolbox bar, show recently closed docks.
Help. You can use the help, find plug-ins, procedures, GIMP material.
25
Image Window
GIMP lets you work with several images at a time where each image is opened in a new
window.
Use FileOpen command to open any image. The image window consists of the
following elements:
5. Title bar of the image window that shows which file is open; in the brackets -
color model, number of layers, image size in pixels; the program used for
opening the image;
Note:
If you have not yet saved the image created using GIMP, the title of the image window is
Untitled.
6. Menu entries. Apart from this menu, there is also the context menu which pops
up by right-clicking the mouse in any place of the image;
7. When you press the button , it opens the context menu, i.e. the commands
selected depend on your opened image, actions performed, etc.:
The same commands are often used in editing photos. To access them, you need to
perform a sequence of actions. When you choose one or another entry in this menu, a
GIMP 26
dotted line appears on top of the drop-down list of commands. It becomes brighter once
you position the mouse pointer on it:
If you left-click the mouse on such a line, an independent element will appear in the
image window - a drop-down list of commands under the menu entry:
8. Click the button . As you enlarge or reduce the image window, the image size
reduces or increases as well;
9. When you press the button , it opens a small window with an image on the
inside in the lower right corner. You can preview the image by moving this
window while holding the left mouse button down:
10. Press the button to open the QuickMask. The button changes its shape to
If the drop-down list does not include the desired size, you can enter your custom size
manually;
13. List of ruler measurement units;
14. Vertical and horizontal rulers are used in drawings, precise arrangement of
objects, etc.
The background color is used as the final transition color. By default, the foreground
color is black and the background color is white.
Clicking on the black large rectangle opens the foreground color dialog;
clicking on the white large rectangle opens the background color dialog.
When clicking , the foreground color will be replaced by the background
color. When pressing small the main default foreground color (black) and
background color (white) will be reset.
New image
An image has a complex structure consisting of layers and other objects: selections,
channels, paths, undo history, etc.
1. Every time you create a new image, go FileNew. A Create New Image dialog
opens, where settings of a new image such as Width, Height, Resolution, Color
space,Fill with are adjusted.
GIMP 28
2. Select a Template, i.e. the size of your new image. Open the drop-down list and
select a template.
3. You can set the image size in various units of measurement. For this purpose,
open the pixels drop-down list and select the unit of measurement of your new
image.
29
Pixel is a single point in the image, the smallest information element in the image.
Inch is a unit of length in different systems, equal to 2.54 cm, used in the USA. In Europe
it is used on an individual basis, when dealing with products from the USA. Pica is a
typographic unit of measurement, containing 12 points (around 4.5 mm). It is used in
printing books for children, smaller headlines of books, magazines and newspapers.
If you press the More button, a Unit Selection window opens and you can choose other
units of measurement: feet14; yards15, typogr.points, typogr.picas (kegel):
Portrait
Landscape
6. Select the color space. Gimp has two key display modes: RGB and grayscale.
Resolution
This parameter is abbreviated as ppi (pixels per inch) or dpi (dot per inch).
13
The font height or kegel is expressed in certain linear units of measurement, namely points
and squares (1 square = 48 points). In metric units, one point is equal to approx. 3/8 mm (to be
more precise, 0.376 mm), and a square to 18 mm. This system of measurement, which is
different from the generally accepted decimal metric system, was introduced in the 18th century
(in 1737 by a French publisher P.-S. Furnje). It was enhanced by F.-A. Dido.
14
A foot (ft) is is anon-SI unit of length, equal to 0.3048 m. 1 ft = 12 in (inches) = 1/7 (furlong) =
30.48 cm (centimetre). In the Ancient Rome it was equal to 0.2962 m.
15
1 yd (yard) = 3 feet = 36 inches = 0.9144 m.
GIMP 30
The resolution parameter according to X and Y is entered into fields X resolution and Y
resolution.
The closed chain icon means that the values are linked together, i.e. if you set the size
in field X, the value of field Y will be the same. The open chain icon means that you
can enter different values in fields X and Y, i.e. their values are not linked together. The
unit of measurement of resolution depends on your selection in the drop-down list
(pixels per inch, pixels per millimetre, etc.).
If you press the More button, a Unit Selection dialog opens and you can choose other
units of measurement:
The higher the resolution is, the better the image and colours you get. However, always
remember that a higher-resolution image takes more space and requires more editing
time. Such a file is printed longer, but low resolution may lead to pixelation.
Before choosing resolution, think about where the image will be used (for printing,
publishing on the Internet, displaying on the monitor) because the value of the
parameter depends on it. High resolution is over 300 dpi, low – within a range of 72–96
dpi. The higher the resolution is, the better the quality of an image you have. The display
of an image on the monitory depends on its size, also on the size and resolution of the
monitor.
If the resolution of an image is higher than of the monitor, the image on the monitor will
be larger than its printing size.
31
RGB model
Colours are represented using two main colour models: CMYK and RGB. Images of raster
graphics are described by two key parameters: colour depth and dimensions. Colour
depth is the number of colours in a single pixel of a digital image16.
In the RGB colour model, colours are created by adding together three primary colours:
red, green and blue. These colours are used in video devices, scanners, monitors, digital
cameras.
The table below contains eight key colours and values of the colours that make them:
Black 0 0 0
Red 255 0 0
Green 0 255 0
Blue 0 0 255
The higher the resolution is, the deeper the colour you have.
Note!
When values of all colours coincide, one of the shades of grey is created. The lower the
values are, the darker grey you have. Higher values make a light grey shade.
Grayscale
16
Also called Bit Depth, Image Mode.
17
There are several definitions. Here are three of them: 1) a basic unit of information used in the
theory of information. It represents the quantity of information received after learning which of
the two equally likely events has occurred; 2) one segment of the binary digit (0 or 1); 3) the
smallest unit of information in a computer, represented in one element of two states.
GIMP 32
In this mode, each point has from 0 to 255 level of brightness. Values between black and
white are different levels of grey.
These two image modes differ in terms of the number of colour channels. RGB has
three channels, grayscale – one and that is why such image takes three times less space.
INDEXED COLOURS
The number of colours in these images is limited, i.e. no more than 256, to save the
random-access memory. Indexed colours are not something new. These formats were
created a decade ago when computers had small random-access memories. Although
now they are rarely used, they are supported by GIMP as it is easier to perform certain
actions with this kind of image than with the RGB-colour image.
GIF and PNG are indexed formats. Even though GIMP supports them, certain filters
cannot work on such images because they have only a limited number of colours. If such
filter is necessary, the image is transformed into a RGB model, filtered and then
returned to the indexed image. To change the colour mode, use the command
ImageMode.
You should remember that switching between formats results in losing some of the
information which will not be restored when switching back. For example, if you go from
RGB to grayscale, the information on the colour is lost, so when you return to RGB, the
image remains black-and-white.
GIMP tools
Capabilities of tools
GIMP tools carry out many tasks. They are grouped into five groups:
1) selection tools specify the portion of the image that will be affected by
subsequent actions;
2) paint tools alter colours in some part of the image;
3) colour tools alter the distribution of colours across the entire image;
4) transform tools alter the geometry of the image;
5) other tools, which do not fall into the groups above.
By default, some tools are not accessible via the menu bar, so that tools that are rarely
used do not bother.
Clicking on (selecting) a tool opens a dialog of that particular tool at the bottom of the
Toolbox. For example, if you select the Ellipse Select Tool, a dialog of this tool opens at
the bottom of the Toolbox, where you can adjust settings which will remain during your
work in the programme and after you resume it. If the settings adjusted are not saved,
they will be reset to their default values.
1) to save options for the current tool. It brings a Save Tool Options dialog.
You can enter the name of the options in the Enter a name for the saved
options box.
GIMP 34
2) 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.
4) to reset the options for the active tool to their default values.
Selection tools
Selection of a portion of the image is a very important GIMP operation. It is much easier
to create a new image from the existing ones, therefore the more precise the selection,
the better the final result.
Selection tools select portions of layers and images so you can work on them without
affecting the unselected areas. Each selection tool has its own individual and common
properties because they all are ascribed to the same group. At first let's discuss the
common properties and then each of them individually.
4. The Fuzzy Select Tool selects contiguous areas based on colour similarity
(also called the Magic Wand);
7. The Foreground Select Tool extracts the foreground from the selection.
Selection modes
Four selection modes may be found in the second section of the toolbar
:
35
2. Add to the current selection Shift causes the new selection to be added to
any existing active selection:
3. Subtract from the current selection Ctrl removes the new selection from
any existing active selection area:
4. Intersect with the current selection Shift+Ctrl makes a new selection from
the area where the existing selection area and the new selection area overlap:
The following modifier keys are very often used when creating a selection:
Key Usage
CTRL When creating a selection, holding down the Ctrl key toggles the “Expand
from center” option, i.e. the point where the selection is started by
pressing the mouse button is used as a centre of the selected area.
If you hold down the CTRL key before drawing a selection, this new
selection will be subtracted from an existing one.
ALT Holding ALT allows movement of the frame of the current selection.
GIMP 36
Key Usage
SHIFT If you hold down the Shift key before clicking to start the selection, this
selection will be added to the already selected area.
If you hold down the Shift key after clicking to start the selection, the
effect will depend on the tool you are using: the selection will be a square
with the Rectangle Select Tool, and a circle with the Ellipse Select Tool.
CTRL+SHIFT To find intersection of two selections, hold Ctrl+Shift when the first
selection is performed and the other one is being performed.
Space bar Irrespective of the tool selected, holding down the Space Bar allows you
to move the active image.
is selected the mouse pointer turns into . Define the selection area holding down
the left mouse button. When the selection is created, handles appear on their corners.
These handles allow you to resize the selection.
37
In the selection, corners the pointer changes into , which means that you
can resize the selection by click-and-dragging it. You can click-and-drag to magnify or to
shrink the selection by moving the chosen boundary.
A selection may be moved from one place to another. In such a case, the mouse pointer
inside the selection area turns into and you can move the
selection from one place to another by clicking the left mouse button.
Tool options
GIMP 38
Feather edges feathers the edges of the selection, therefore pixels of the selection area
will be partially visible.
Rounded Corners rounds the corners of the selection using the Radius slider.
Expand from center – the point where the selection is started by pressing the mouse
button is used as a centre of the selected area.
Fixed constrains the shape of the rectangle in different ways. You can select the method
in the drop-down list of the Fixed slider:
Aspect ratio sets the ratio between width and height; by default the ratio is
1:1, i.e. a square.
Width sets the width of the selection.
Height sets the height of the selection.
Size sets the height and the width of the selection.
Position, Size change the coordinates of X and Y and adjust the size of the selection
manually.
Guides18 – you can choose the type of guides. In the No guides drop-down list you can
choose the following guides:
Auto Shrink shrinks the selection to the nearest rectangular shape available on the
image layer.
After you select the tool, the mouse pointer turns into .
– Pressing the Shift key after starting your selection and holding it down until you
are finished constrains the selection to be a circle.
– If you press the Shift key before starting to make the selection, the resulting
selection will be added to the existing selection:
18
The rule of thirds. An image is divided into vertical and horizontal one-thirds, and the element is
positioned in the intersection of those one-thirds. The key element is oriented in one of the four
points, and the background element in one of the remaining three.
The golden section. Also known as Fi or the divine proportion, it is the number equal to 1.618. The
golden section is based on Euclid's postulate on the division of a segment into equal parts so that
the ratio between the longer part and the shorter part is equal to the ratio between the entire
segment and the longer part.
GIMP 40
After you select the Free Select Tool, the mouse pointer turns into . This tool
creates a free-shape selection. The selection is created as if drawing it with a pencil:
– by clicking on the first point (with which the selection was started);
– by a double clicking; the selection is usually closed by connecting the current
pointer location to the start location with a straight line.
You can also select by precise clicking on a certain point. A circle appears in the place
and you can rather precisely select a free hand path:
After you select the Fuzzy Select Tool, the mouse pointer turns into . Sometimes it
is called the magic wand. This tool selects areas based on colour similarity. Areas are
automatically selected by clicking on the image. When using this tool, it is very
important to pick the right starting point because if you select the wrong one, you might
get something very different from what you want.
We already know the first three options (Mode, Antialiasing, Feather edges) from the
Rectangular Select Tool.
The Select transparent areas option offers you the ability to select areas that are
completely transparent.
The Sample merged option becomes relevant only when you have several layers in your
image: the active layer that is either semi-transparent or fully transparent. The colours
present in the active layer will be different from the colours in the composite image. If
this option is unchecked, the Fuzzy Select Tool will react to the colours in all the possible
layers.
The slider of the Threshold scale determines the range of colours that will be selected at
the moment you click on the initial point. The lowest value is 0, the highest value – 255,
the default value – 9.1. If you enter a low value, the points, the colour of which is the
same as the point you clicked on, will be selected. Increasing the value expands the
selection area by connecting the points with a larger range of colours.
a) Threshold = 2 b) Threshold = 5
In the Select by drop-down list you can choose how to select colours.
The tool above selects the image areas based on the colour similarity, while
selects the areas that are in the chosen range of colours. It has the same options as the
Fuzzy Select Tool.
GIMP 42
This tool allows you to make a selection by creating control points at the edges of
the area you are trying to select. Then the tool produces a continuous line connecting
these control nodes. The tool is used in the following way:
3. Finish creating points by clicking on the first control point (when you
place the mouse pointer on the last/first point of the selection, a new element
appears on the mouse pointer showing that the curve is closing at this point).
If certain points are set not precisely, place the mouse pointer on the point, the pointer
turns into and move this point to the place you want. If you need to add points to
the path, place the mouse pointer on the path, the pointer turns into , and then
click the left mouse button to add an additional point. To create a continuous line, place
43
the mouse pointer inside the path, the pointer turns into , then and click the left
mouse button.
its pointer is the same as of the Free Select Tool , only its use is more complex. The
main actions are the same as in case of the Free Select Tool.
Selections
Free selection
You can select using the Free Select Tool in two ways:
1. By stroking the selected area manually, i.e. as if drawing by a pencil;
2. By clicking in certain points of the area you want to select, which will be linked
by a line, thus creating the selected area.
Fuzzy selection
Fuzzy select Tool is used to select the adjacent areas of similar color.
45
Select the adjacent white areas in the image. The number of similar colors (hues) is
regulated by the Threshold option. The higher the value, the more hues take part in the
selection operation.
3. If you want to select all the white areas on the dog, press the Mode button Add
to the current selection in the Toolbox options;
4. Click the mouse pointer on the remaining unselected white areas of the dog:
Selection by color
Select by Color Tool is designed to select areas of the image based on color similarity.
The Threshold option is used to increase the number of adjacent hues of the selected
areas.
Scissors selection
Scissors Select Tool selects an object by identifying its edges; the tool lacks precision; it
compares color and contrast on both sides of the selection line while selecting. The
selection takes place by clicking certain points that are connected by curves.
Foreground selection
47
Foreground Select Tool lets you select the areas where the foreground objects are
located. In the Interactive refinement group-box control you can choose what to select–
foreground or background. The selection takes place in two stages – in the first stage,
you roughly select the area you want to extract and use a paintbrush to make it more
accurate afterwards
4. Select a brush of the required size by the slider of the Small brush scale.
5. Use the brush to color the areas which belong to the selected interactive
division:
6. Once the path is finished, press the ENTER key. You can now see the selected
part:
Mask; by pressing the button in the lower left corner of the program window ; by
pressing the keyboard shortcut Shift+Q. Once you are done, the entire image window
fills with a light red translucent mask. Select the brush for painting the area you want to
select. Since a variety of brush sizes are available, you can paint the desired area really
accurately. Painting with white creates a selected area, whereas black unselects it.
Select the dog's neb in the image and copy it to a new layer.
GIMP 48
1. Apply Select Toggle Quick Mask. The entire image is covered with a light red
translucent mask. The button in the lower left corner of the program window
a) the image after Select Toggle Quick Mask is b) the image after the Paintbrush Tool is applied
applied
3. In the lower left corner of the program window press the button . Now
dog's neb is selected in the image:
Note!
To select a tricky area, you can use all selection tools but don't forget the Mode buttons
, which let you merge, subtract or intersect the areas selected. The
buttons are available for all selection tools.
Paint tools
Gimp offers the following paint tools:
Shape of the
mouse pointer
Tool Name of the tool Intended purpose
when the tool is
selected
Bucket Fill Tool Fill the selection with the colour or pattern selected.
Tools: Pencil, Paintbrush, Airbrush and Ink Tool are usually grouped together and called paint tools.
When using paint tools, key modifiers very often come in handy:
Ctrl Holding down this key has a special effect on every paint tool, except for
the Ink Tool. It places the tool into the colour picker mode. For example,
clicking on the image when holding down this key allows selecting the
foreground colour.
For the Clone Tool, the key switches it into a mode where clicking sets the
reference point for copying.
51
You have to A mark emerges at Then the mouse pointer is
clone some the place set on the selection in the
of the stem. registered by the image, where the cloned
Holding mouse pointer. part of the stem must
down the appear.
Ctrl key
select the
Clone Tool.
The mouse
pointer is
set on the
place of
your choice.
For the Blur/Sharpen Tool, the Ctrl key switches into the Sharpen/Blur
mode.
Shift Holding down the Shift key places paint tools into the straight line mode.
For example, to draw a straight line, set the starting point (click the left
mouse button on the point of your choice). Then press the Shift key on the
keyboard. You will see a thin dotted line connecting the starting point with
the pointer.
The operation may be repeated without setting the starting point. In such
a case, the starting point will be the ending point of the line drawn. In this
way you can connect many segments.
Ctrl+Shift This is similar to the effect of the Shift key alone, except that the
orientation of the line is constrained to the nearest multiple of 150, i.e. you
can create vertical, horizontal and diagonal lines.
The Tools menu that is opened using a special list of commands through Add
TabTools contains many tools without they eye icon .
When you click on the eye icon that is in front of a particular tool icon, the tool selected
appears in the Toolbox. Select all tools that you see in the image above. Our Toolbox is
supplemented with additional tools that allow you working with colours.
53
a) Standard Toolbox b) Tools icons that you want to c) Toolbox supplemented with
see in the Toolbox are marked additional colour tools
Note!
To see how the commands below operate in practice, you should open as contrast
images as possible.
COLOR BALANCE
This command modifies the colour balance of shadows, undertones and light parts in an
image. You can select options in a dialog box opened through ColorsColor Balance
If the Preview (A) checkbox is ticked, a small preview window (B) opens in the top right
corner of the dialog box, where you can see any changes made to the options.
Undertones are prevailing in images. To adjust them, set Midtones under Select Range
to Adjust.
You can set colour levels using the Adjust Color Levels slider. The first slider adjusts the
balance between cyan and red, the second one – between magenta and green, and the
third one – between yellow and blue.
The option Preserve luminosity (C) ensures that brightness set is maintained. In this
case, only the colour balance changes.
GIMP 54
In the top section of the dialog box you can find the Presets input box. Pressing the
button on the right of it calls an Add Settings to Favorites dialog box where you can
enter the name in the Enter a name for the settings input box:
In this way you can apply the same settings to other images. All the settings are saved in
a special file. However, remember that at first you have to adjust settings and only then
save them.
Note!
If you tick:
• Shadow, you can adjust dark colours in your image;
• Midtones, you can adjust undertones;
• Highlights, you can adjust bright (light) colours.
Hue-saturation
This command adjusts hue, saturation and lightness levels on the colour selected. The
settings are adjusted for the active layer or the selection. The tool is often used for
creating interesting colour effects. To see how it works, you should take an image and
try changing various settings.
At first select one of the three possible primary colours (red, blue, green). You can also
choose from complementary colours: cyan, magenta, yellow. All colours are arranged in
a circle (A). When hue increases, the circle goes counter-clockwise; when it decreases, it
goes clockwise.
Overlap sets how much colour ranges will overlap. This effect is very subtle and works
on very next colours only.
In the colour circle, you can select a primary colour (Select Primary Color to Adjust) and
using three Adjust Selected Color sliders adjust each tone:
Hue changes colours in the order of the range circle, i.e. adjusts the tone of the colour
selected. Green may be replaced with yellow, blue with any other colour from the
palette.
Lightness adjusts the lightness of colours from 100 on the left of the slider (black image)
to 100 on the right of the slider (white image), i.e. the higher the value is, the lighter
image you have; and the lower the value is, the darker the colour selected you get;
Saturation adjusts the purity of the colour. Moving the slider from the centre to the left
reduces purity from 0 to 100 (only shades of grey without any colour tone), and moving
the slider from the centre to the right increases purity from 0 to 100 (solid colour).
When you take a picture of a man, the flashlight reflects off the retina of the eye – you
get the red eye effect as blood-vessels in the retina are of the red colour. How to
remove this effect?
GIMP 56
1. Open a photo where a man has "red" eyes. At first pay attention to the size of
the photo. You will have to mark eye pupils, so choose the proper size. If the
photo is large, scale it to 100%, if small – to 150–200%.
2. Mark the red pupil using the Ellipse Select Tool.
3. Select the tool through ColorsHue-Saturation. In the Hue-Saturation dialog
box select the red colour (R) and set its Saturation at 100.
COLORIZE
The tool adjusts colours in the active layer or the selected area. It is a very powerful tool
that adjusts the general background of the image. You can get to it through
ColorsColorize . In the Colorize option window you can adjust your settings.
The Colorize Tool creates the effect as if you look at the image through a colour glass.
When it is colourless, it is transparent. Adjusting setting value, you adjust the tone of the
glass, therefore the image is always different.
Brightness-contrast
This tool adjusts lightness and contrast levels for the selection or the active layer, i.e. it
makes the image more expressive and richer. You can adjust settings in the dialog box
Moving Brightness and Contract sliders to the right increases brightness and contrast, to
the left – decreases them. Adjustments made by this tool do not highlight light,
undertone or dark areas.
If you are not satisfied with the quality you get, use Levels and Curves.
icon and the opened image. The Brightness-Contrast dialog box opens:
3. Using the Brightness slider set the value at 127, then at -127.
4. Using the Contrast slider set the value at 127, then at -127.
GIMP 58
Threshold
This tool transforms the active layer into a monochrome image, i.e. it transforms a
colour image into a black-and-white image. A black-and-white photo does not fall into
this category as it always has shades of grey. To adjust settings, use the command
ColorsThreshold . In the dialog box you can use the slider and small black and
white triangular buttons.
Triangular buttons (A) control the field shown in the histogram. They adjust the size of
the selection and at the same time the composition of your image.
In a new image, pixels within the threshold range will be white, and others will be black.
This tool is rarely used on colour images. However, it is used to improve a black-and-
white image, for example, a scanned text. It can also clear a mono image.
59
Levels
When working with a low definition camera or scanning photos, the resulting image is
often pale. You can remove such defects through ColorsLevels . This command
adjusts brightness, contrast and saturation in a special way.
To remove the “wash out” effect in your photo, all you have to do is press the Auto
button in the Levels dialog box.
In the Channel drop-down list you can choose the object which will be modified by the
tool:
GIMP 60
Value adjusts the general colour in your image;
Red, Green, Blue work on a particular colour channel;
Alpha works on transparent masks.
In the dialog box opened you can see a histogram with the distribution of pixels in the
whole image or its selection. Adjusting the settings in this window changes the intensity
of the image. It usually helps and makes colours brighter.
All tones in a balanced image are distributed evenly. For example, an image with a blue
predominant colour will produce a histogram shifted to the left in Green and Red
channels, signified by green and red lacking on highlights.
Input Levels
Moving input sliders (A) adjusts dark tones, undertones and light tones individually:
When adjusting images, triangular sliders B and D are moved to the group of points
signifying the beginning and end of the histogram. When working on undertones, move
triangular slider C to the right to darken them or to the left to lighten them. The position
of triangular slider B determines the value of the black point, and all points with the
lower value will be black. This applies to triangular slider D as it determines the white
point. The middle triangle (C) determines the mid point. The closer this triangle is to B,
the lighter the image you get; and the closer it is to D, the darker the image is.
Input Levels are often used to lighten bright tones (usually highlights), darken shadows,
change the balance of bright and dark tones.
Output Levels
In the Value channel, points are compressed and look more alike, shadows are made
lighter, and highlights darker.
The following example explains the colour (red, blue, green) channel the best: if you use
the red channel and set the output level at 100–140, all points will be red.
Working on the Alpha channel, all values will be shifted to the range you have set.
Slider E is for adjusting the contrast in an image. To lighten an image, move triangular
slider F to the right; to darken an image, move triangular slider G to the left. Where
required, you can enter the exact values into input boxes that are below the output level
scale.
61
Curves
This tool changes the colour, brightness and transparency in a very sensitive way.
Remember that it can be used only with the RGB colour model. This tool is very effective
when working on the definition of the image. Contrary to Brightness-Contrast which
changes the definition of the whole image, Curves adjust the definition of the selection
only. This effect is often applied to photos. Let's say the picture was taken in front of the
sun and certain bright details that reflected the sunrays are almost invisible. With
Curves you can reduce the definition of those details by moving down a respective
segment of the curve.
To increase the definition, move the curve upwards. You can choose the channel you
want to adjust.
The command ColorsCurves opens a dialog box, in the centre of which there is a
line drawn on a grid and going from the bottom left corner to the top right corner.
The horizontal axis represents initial intensity levels of an image or a selection (Input
Levels), while the vertical axis represents Output Levels, i.e. the destination. A straight
line drawn at a 450 angle has the same input and output values. Subject to the
adjustments made to the image, anchors are arranged on the curve. An anchor is
created on a corresponding place of the curve. Points A, B and C are anchors of
corresponding adjustments: A – shadows, B – undertones, C – light areas.
Holding down the left mouse button move the pointer over the image. A moving vertical
line that shows the intensity of the point selected in the image appears in the Curves
GIMP 62
dialog box. When you reach the point you want, you have to capture its intensity by
setting the curve in that place.
To adjust areas with medium intensity, create anchors on the curve that signify the
middle segment of the curve. You can change the areas with medium intensity by
changing the shape of the segment: when the segment goes up – the area becomes
lighter, when goes down – it becomes darker.
In the dialog box you can select a Curve type which influences different curve editing
modes:
Smooth – you can move anchors, thus adjusting the shape of the curve;
Freehand – you can draw a curve by hand.
Posterize
This tool reduces the number of colours while maintaining the maximum semblance of
the original image. Access this tool through ColorsPosterize . In the opened dialog
box you can see only a single setting, namely Posterize Levels:
Moving the Posterize Levels slider allow you to set the number of levels (from 2 to 256)
in each RGB channel that the tool will use to describe the active layer. In this way you
can determine the number of colours in the final image:
Increasing the value increases the number of colours used. In case of the maximum
value, the tool is inactive as the image is the same as the original.
63
Reducing the value reduces the number of colours used, and the image is being stylised.
Level 3 is set by default, meaning that the final image will have 8 colours.
TASK. Open pan_1.jpg and reduce the number of colours by setting Posterize Levels at
256 and 3.
1. Open pan_1.jpg through FileOpen .
Note!
The lowest value of Posterize Levels is 2. It shows the smallest number of colours.
Desaturate
This tool converts all of the colours on the active layer into shades of grey. However, you
work on all three colours of the RGB colour model. This tool is usually used when you
need to turn the image into a monochrome image. You can access it through
ColorsDesaturate . In the dialog box opened you can select one of three shades of
grey based on:
GIMP 64
Lightness = ½ x(max(R, G, B)+min(R, G, B));
Luminosity = 0.21xR+0.72xG+0.07xB;
Average =(R+G+B)/3
Note!
If the Preview checkbox is ticked, you can instantly see new settings. If it is not ticked,
press the OK button in the Desaturate dialog box and you will see the result according
to the option selected.
GEGL19
This tool adjusts colours in the image. It has many versions. You can access GEGL
through ColorsUse GEGL . Clicking on the image opens a GEGL Operation dialog
box.
19
GEneric Graphics Library
65
Select the operation from the Operation drop-down list and only then adjust the
settings.
TASK. Open pan_1.jpg and select GEGL for colour adjustment. Adjust the following
settings:
Operation – Brightness-Contrast. Set Brightness at 0.44, Contrast at -0.96.
Operation – Color temperature. Set Original Temperature at 4640.00, and
Intended Temperature at 10440.
Operation – box-blur. Set Radius at 3.50.
1. Open pan_1.jpg through FileOpen .
2. Access the tool through ColorsUse GEGL. Select the tool and click on the
opened image. The GEGL Operation dialog box opens.
3. Select Brightness-Contrast in the Operation drop-down list.
4. Adjust the following settings:
Brightness at 0.44
Contrast at -0,96
Invert
The command ColorsInvert inverts colours, i.e. converts an image into a negative.
Value invert
This command converts every pixel in the image individually. It turns all bright pixels into
dark and vice versa.
TASK. Open pan_2.jpg and invert every pixel in the image individually.
1. Open pan_2.jpg through FileOpen .
GIMP 68
2. Access the command through ColorsValue Invert. The resulting image in the
working window looks like this:
COLOUR EXCHANGE
This command replaces one colour with another one. You have to choose two colours –
the colour you want to replace and the colour that will replace the first one. The
command finds the colour automatically, so you do not have to indicate it yourself.
You can open the Color Exchange dialog box through ColorsMapColor Exchange.
69
From Color – the colour you want to change. You can indicate this colour in two
ways:
1) by clicking on and indicating the colour you want to
change in the dialog box Color Exchange: From Color
Note!
2) by indicating the exact colour values with Red, Green, Blue sliders.
GIMP 70
Use Red threshold, Green threshold, Blue threshold sliders to lock the
threshold for each colour value.
Note!
The higher the threshold value is, the more shades of this colour will be used.
To Color – the colour that will replace the From Colour. You can choose the
colour the same as in case of the From Color.
Note!
The preview window is on the top of the dialog box. If it does not show any changes, it
means that the colour you want to change is not in the image.
Alien map
This command gives the unreal effect to an image, creates the supernatural illusion.
Open an image or a photo and access the command through ColorsMapAlien Map.
The Alien Map dialog box opens.
GIMP 72
First of all you have to indicate the shade you want to modify. Determine the colour
model, tick the RGB color model or HSL color model checkbox.
Indicate the colour channel you want to modify, i.e. tick one of the checkboxes: Modify
red channel, Modify green channel or Modify blue channel.
Create the effect using red, green or blue frequency and phase sliders.
TASK. Open pan_2.jpg and give the supernatural effect to the image using the RGB
colour model, then the HSL colour model. Modify red and green channels. Set the red
frequency at 1.20, and the phaseshift at 55.00; the green frequency at 1, and the
phaseshift at 0.00.
Colour enhance
The command accessed through ColorsAutoColor Enhance automatically enhances
colours in an image and makes them brighter.
73
When you open an image and use the command, it automatically enhances the
saturation and brightness of pixels in the image without distorting the real image.
TASK. Open pan_3.jpg, highlight the girl's silhouette and make the background
colourless.
1. Open pan_3.jpg through FileOpen.
Note!
If the image is too small, use the Zoom Tool . In the options section, tick the Zoom
in checkbox and click on the image.
4. Remove the part underneath the armpit (A) and near the hair (B) from the
selection. Select the Mode icon (Subtract from the current selection) in the
Free Select Tool options from the Toolbox menu.
5. Select areas A and B with the Free Select Tool.
GIMP 74
Note!
If the Toolbox has colour tools, then instead of going through ColorsHue-Saturation
and click on the image. In the Desaturate dialog box tick the Lightness
checkbox.
Note!
When you choose tools, do not mix the Blend Tool and the Desaturate Tool as they
have very similar icons.
Transform tools
Shape of the
Name of the mouse pointer
Tool Intended purpose
tool when the tool is
selected
The angle and the rotation centre are indicated in the Rotate dialog box.
You can resize the image using the command ImageScale Image. The size of a new
image is displayed in the Scale Image dialog box in pixels or any other units of
measurement (Image Size) or percentage of the original size.
GIMP 78
Shape of the
Name of the mouse pointer
Tool Intended purpose
tool when the tool is
selected
You can resize a file (.JPG) using the command FileSave As.
When you make all the settings, press the Save button in the Save as JPEG dialog box.
Move the Quality slider to 65%. The image saved is suitable for viewing but not
printing.
Add to palette
Zoom
Tool
Zoom in
Adjust the zoom level.
Zoom out
Text Tool
Painting
Line
You can paint a line by hand using the Pencil or the Paintbrush. The pencil paints a clear
and firm line, while the paintbrush does it with soft strokes. These tools have similar
options. Lines are painted by holding down the left mouse button. These tools are also
suitable for painting straight lines. Create a starting point by clicking on the image
display area. Now, hold down the Shift key and and create additional points. A dotted
line appears between the last point and the current point.
Mode. It shows how the paint will be used. Paint tools have the same modes as
layers (described in Chapter XXX), except for Behind and Color erase modes. All
possible modes are listed in the drop-down list. Let's discuss some of them:
o The Behind mode is applied only to layers with the Alpha channel (the
channel of transparency). It is often put only on the opaque area of the
layer. The amount of the paint depends on the transparency value: the
lower the opacity is, the more paint is applied.
o The Color erase mode erases the foreground colour replacing it with
semi-transparency.
o The Dissolve mode paint a line with XXXX strokes.
Opacity sets the transparency level. The value may be from 0 to 100. Where the
value is 100, the brushstroke is opaque, where 0 – totally transparent. In the
image below you can see the lines painted using different opacity values.
Brush allows you to choose the shape and the size of a brush. In the image
below you can see lines painted with a brush of different shapes:
83
Scale allows you precisely to modify the size of a brush. In the image below you
can see lines painted with a brush of different sizes:
Brush Dynamics allows you to choose how the brush should act when painting.
Checking this option opens additional ones. Checking this option opens
additional ones.
Checking the options you can change how the brush acts when painting lines. You can
choose Color and Velocity. If you paint slowly, the brushstroke is dark. The faster you
paint, the lighter the brushstroke is, since the colour depends on velocity:
Now, you can set Size and Random. The random size changes the size of a brush:
GIMP 84
You can set Color and Random. The random colour changes the colour of a brush:
The Fade out option allows you to choose the maximum size of one stroke. It is
usually used to get the effect of fading out paint. Choosing this option, you can
set the length of a stroke with a help of a slider.
The Apply Jitter option allows you to create the effect of a jittering paintbrush.
When you check this option, a scale of Amount appears and you can set the
level of jitter with a help of a slider:
If Incremental is active, each additional pass with a brush will increase the
effect. If it is deactivated, moving the brush repeatedly over the same spot will
not increase the effect. The Opacity is equal to 10. The stroke will be almost
transparent. Paint one line, then another (a) on the top of it. Their colours are
85
not added together. Activate Incremental – paint a line and then another one
on the top of it. Their colours are added together (b).
The Use color from gradient option allows you to paint with a gradient rather
than one colour. Painting progresses with the gradient and length you choose.
Checking this option opens a window with gradient settings
Circle
Many graphics editors have tools to paint a circle, but not GIMP. So, how to paint a
circle? Here, you can use two tools – the Select Tool and the Bucket Fill Tool.
1. Select the area with the Ellipse Select Tool . If you need to select a circle,
press the Shift key after starting your selection and hold it down until you are
finished.
3.
1.
2.
Choose the foreground colour by clicking on . Select the colour in the Change
Foreground Color dialog.
Click the mouse pointer on the image area you want to fill with the chosen colour.
Mode defines how to mix the fill colour with the solid colour of the area to fill.
Opacity shows the transparency level of the fill colour. If you choose minimum
values, you can adjust hues rather than fully fill individual areas.
The Affected Area shows the area to which the Bucket Fill Tool will be applied:
o Fill whole Selection – the tool is applied to the selection created using
special tools rather than to flat areas:
GIMP 88
o Fill Similar Colors – the tool is applied only to the colour of contiguous
pixels of with a certain range of colours:
Finding Similar Colors – you can access this option when Fill Similar Colors is
checked. Under this section you can find two options:
o Fill transparent areas – the option offers the possibility of filling
transparent areas. If this option is deactivated, the tool is not applied to
transparent areas.
o Sample merged – flat areas are found not only in the selected layer, but
in all other layers of the image.
Thresholds – the slider allows you to set the level at which colour can diverge
inside the flat area. Sometimes the area to till is not flat – it has several small
spots. In this case, select a higher level and the tool will fill the area you want:
89
Fill by defines the search object to determine the flat area to which the Bucket
Fill Tool will be applied.
The Eraser Tool removes areas up to the background colour or the transparent
background. This tool has similar options as other paint tools, for Anti Erase which un-
erases areas of an image.
To remove areas in an image you can use the Delete key. Select the area you want to
remove using any of the select tools and press the delete key. The area will be removed
up to the background colour.
The Eraser Tool is usually used to remove strokes and edit the image.
Blend Tool
This tool creates the transition from one colour to another rather than fills the
area with a solid colour or pattern. The transition of colours is created along the line
which is drawn using a mouse pointer . This line has two functions: 1)
shows the direction of the gradient; 2) shows the length of the blending from one colour
to the other. The longer the line, the smoother the transition. The tool is used in the
following way:
Below the gradient button you can find a Reverse option. Check this option to
reverse the gradient.
Offset – use the slider to adjust settings and move the starting point of the
gradient. Increasing the value shortens the gradient.
Shape – you can select the shape of a gradient from the drop-down list:
The Repeat mode determines how many times gradients will repeat.
GIMP 92
Dithering allows you to wash out or smooth out toothed edges of a gradient.
Adaptive supersampling allows you to smooth the irregularities of a gradient.
Cloning
The Clone Tool allows you to copy from an image. The tool is used to perform
many operations in order to move or copy parts of an image in different ways.
Tool options:
93
The Clone method mixes strokes with the background.
Opacity to set the transparency level of brushstrokes.
Brush – to choose the shape of a brush.
Scale – to choose the size of a brush.
Brush Dynamics – to choose options of the brush dynamics;
Fade out – to choose a fixed length of a stroke.
Apply Jitter – to create the effect of a jittering paintbrush.
Hard edge – to remove antialising of all edges of a stroke.
Source – to determine whether data will be copied from an image or one of the
patterns discussed above. If data will be copied from the pattern, you do not
need to set a starting point of copying using the Ctrl key.
Alignment – to define the relation between cursors when using the tool .
Your options:
o None – no alignment. When you set the starting point (source) (using
Crtl), it is not important where you start copying because the source
position will not change. This option is usually used to copy one element
in several places.
o Aligned – the offset is set between the starting point (source) and the
closed result, and all subsequent brushstrokes use the same offset.
o Registered – the image of one layer is moved to another layer, not
sideways or upwards/downwards.
o Fixed – the starting point (source) remains set. You paint using a simple
paintbrush, only instead of a regular line, each time you copy the
pattern of the source point.
TASK. Open image pav_3.jpg and copy the duck in the foreground using the Clone
Tool.
1. Open image pav_3.jpg:
GIMP 94
2. Click on the Clone Tool and place the pointer on the image. The pointer
turns into .
3. In the Alignment drop-down list select None.
4. Then press the Ctrl key on the keyboard.
5. Select a starting point (source) by clicking on the duck in the foreground. This
action brings a mark:
6. Click on the area you want to copy. Perform painting actions as if using a
paintbrush without releasing the left mouse button and following the
movements of the mouse in the source. Release the mouse button when you
finish copying.
7. The resulting image looks like this:
Perspective cloning
After you use the Perspective Clone Tool , the mouse pointer turns into .
You can copy different parts of an image in any perspective you want. Before using the
tool, use a special frame to set the perspective of your image and identify which part is
closer to the viewer and which one is further. Sometimes this tool is more convenient
than the Clone Tool, you just need to learn how to use it well.
The Perspective Clone Tool has the same options as the Clone Tool, except for two:
Task. Open the image pav_4.jpg and to clone it in different perspectives created by
you.
1. Open pav_4.jpg through FileOpen Paukštelis.jpg.
2. Select the Perspective Clone Tool.
3. Choose Modify Perspective.
4. Click on the image. Perspective creation handles A appear.
.
8. Set AlignmentAligned.
9. Using the Ctrl key select the bird, i.e. the clone source.
GIMP 96
Healing
Select the Healing Tool . The mouse pointer turns into . It operates similarly to
the Clone Tool – you can copy certain areas from an image. This tool, contrary to the
Clone Tool, adjusts the pattern, brightness, hues of the points being edited to the initial
image. It is often used when the element copied is placed in a background that is not
flat.
This tool has the same options as the Clone Tool, except that you cannot choose a
pattern as a clone source.
Task. Open pav_5.jpg and remove the date and black spots.
1. Open pav_5.jpg through FileOpen pav_5.jpg:
4. In the dialog set the shape and size of a paintbrush, alignment and other
parameters (if required).
5. Click on the area to heal and perform the copying operation. The resulting image
looks like this:
GIMP 98
TASK. To open pav_6.jpg and to remove the date using the Clone Tool.
1. Open the file through File Open....
4. In the dialog set the shape and size of a paintbrush, alignment and other
parameters (if required).
5. Zoom in the image using the Zoom Tool :
9. Name the image, indicate the location where the file will be stored and save the
image as pav_7.jpg using the command File Save As....:
10. In the Save as JPEG dialog select the quality of the image:
Smudging
The Smudge Tool mixes colours and passes from one colour to another. You can
get the effect of the finger crossing a wet image. The image softens the merging
boundaries of elements, levels down transitions of contrasting colours. You can get the
watercolour effect.
1. There is no Mode option, since when using the tool colours are not placed on
each other.
2. There is a Rate option, the value of which determines how fast the tool acts. The
higher the value, the cleaner the watercolour effect.
TASK. Open pav_7.jpg and apply the watercolour effect to the background, where the
Rate is set at 20 and 70.
1. Open pav_7.jpg through File Open....
7. Create the watercolour effect using the mouse pointer . The resulting
image is a).
8. Set the Rate using the slider at 70.
9. Create the watercolour effect. The resulting image is b).
a) b)
Blur/Sharpen
The Blur/Sharpen Tool uses the current brush to blur or sharpen the selection:
101
1. The Blur tool softens the transition of colours that are among elements of the
image and creates the "blurry" effect.
2. In the Sharpen mode, the tool increases the contrast of colours that are among
elements of the image, focuses parts of the image. The tool is applied to areas
with contrasting colours, but does not work on flat areas.
The Rate option adjusts the level of blurring or sharpening. Other options have been
already discussed.
Task. Apply the Blur/Sharpen Tool to pav_8.jpg, where the Rate is set at 25 and 75.
1. Open pav_8.jpg through FileOpen....
2. Zoom in the image in the working window with the Zoom Tool .
3. Select the Blur/Sharpen Tool . Run the mouse pointer that turned into
a) b)
c)
3. Select the Blur/Sharpen Tool . Run the mouse pointer that turned into
d) e)
f)
Colour picking
Pick a foreground colour using the Color Picker Tool with the pointer . This tool
selects the colour of the point (pixel), which is later used by other tools. The tool has
many options:
Sample average – rather than selecting a colour for one point, you can use the
Radius slider to adjust the size of the area that is used to determine an average
colour. The higher the value, the more pixels (points) are in the area, the more
colours are mixed.
Sample merged – to select the colour for a point from any layer.
Pick Mode – to set the actions made by the Color Picker tool:
o Pick only – in a special window (Use info window is enabled) you will
see information on the colour of a particular point (pixel):
When setting points, you can see their colour codes in the Color Picker
dialog.
o Set foreground color – the colour of the point (pixel) you click on
becomes the foreground colour.
o Set background color – the colour of the point (pixel) you click on
becomes the background colour.
o Add to palette – the colour of each point (pixel) to which the tool was
applied is placed in a special palette:
GIMP 104
Airbrushing
This operation is performed using the Airbrush Tool . The mouse pointer turns into
. This tool applies a colour and emulates a traditional airbrush. Like the Paintbrush,
the Airbrush Tool softly applies a colour on areas using a changing pressure. Its options
have already been discussed. Let's look just at two of them:
Rate – a higher setting produces darker brushstrokes, and vice versa – a lower
setting produces lighter brushstrokes.
Pressure – a higher setting adjusted with a slider results in darker brushstrokes.
Dodging/Burning
This operation is performed using the Dodge/Burn tool . The mouse pointer turns
into . The Dodge Tool lightens colours in individual parts of an image, and the Burn
Tool darkens colours in the selection. It is usually used visually to highlight certain parts
in the image, accentuate contrasts of individual areas and restore images. The tool
should be run over the areas of the image to be changed. In the tool option window you
can select a brush, its size, shape, dynamics and stroke:
105
Erasing
The erasing operation is performed using the Eraser Tool . The mouse pointer turns
into . The Eraser Tool removes areas from the image to the background colour or to
the transparent background. If the Eraser is used on a blank image, then erasing will
show the background colour as if painting with a brush, i.e. since the Eraser is used on
the single background layer, it erases and covers the image with a monotone
background colour because there is nothing beneath it. The Eraser that is used in any
layer removes the image from the layer, thus exposing the image in the layers below. All
tool options have already been discussed, except for the Anti-Erase Tool which is used
to undo the Eraser. Remember that this feature only works on individually created layers
that are above the background layer.
LAYERS
Working on layers is similar to editing the image that is in a slide. If a layer has a
transparent area, you can see the image beneath it. Using layers you have more options
to create and edit images. Layers may be reversed. If you remove the top layer, you can
see the image in the layer below it. Each layer may be modified individually or removed
without affecting other layers. Layers may be merged, temporarily hidden. The number
of the layers used is limited only by the size of the computer's memory.
A layer can divide an image into several elements so that you could work on them
individually.
It can be explained by the following example. We have several glass sheets with images
or objects painted on them. Glass sheets are stack on each other. When you look at
107
them, you see the overall image. Every glass sheet is a layer. Every new layer is
transparent and you can paint any image on it.
When one glass sheet is removed, the overall image hardly changed and one element is
moved to the side. If the whole image were on one glass sheet, we could not do that. So,
moving individual elements is one of the key functions of layers.
Let's say that we have removed certain glass sheets, certain elements of the image have
disappeared but they can be added at any time. In GIMP such action is possible when all
layers are temporarily disabled.
Using layers
Open a new document through FileNew.... In the Layers dialog you can see only one
layer named Background:
The image has one main layer without the Alpha channel. To add a layer with this
channel, open a context menu by selecting Add Alpha Channel from the drop-down list
in the Background layer. Remember that most of the operations with layers cannot be
performed without the Alpha channel. This channel may be removed by selecting
Remove Alpha Channel in the list of commands in the context menu.
It is a "glass sheet" without any image on it. Select a brush and make a few strokes.
Layer name – you can create a unique name so that you could easily find and
identify the layer in future. The name should be unique and reflect the content
of the layer.
Width, Height – dimensions of a new layer. A layer usually has the same
dimensions as the image, therefore the values are set automatically. Next to
Height there is a button to open a drop-down list of units of
measurement.
Layer Fill Type – you can choose the content of the layer fill:
o Foreground color
o Background color
o White
o Transparency – this is the most common option as this layer does not
visually cover other layers. If you choose any other option, the new layer
will cover the layers that are beneath it.
When you create a new document with the first three layer fill types, in the Layer menu
you see a Background layer.
Press the OK button and an image named New Layer appears before the Background
layer in the Layer menu:
The icon shows that the layer is transparent. The Alpha channel has all
information on the transparency of a layer. A layer may be opaque, fully transparent or
semi-transparent. The background of an opaque layer is white. The line of an active
109
You can change the name of a layer through the context menu – while standing on the
name of the layer click the right mouse button and select Edit Layer Attributes.... Then
enter a new name of the layer in the Layer name input box in the Layer Attributes
dialog:
To rename a layer faster, double click on the name and change it.
The type of layer depends on the type of image and the Alpha channel. You can choose:
You should remember that different filters work on different types of image. Some of
them require an RGB image, others – indexed colours. So, to apply a filter to an image,
you have to transform the image into another type and then add/remove the Alpha
channel, if the filter needs it.
Moving layers
Let's try to move the image that is in the layer from one place to another one. In the
working window we have:
GIMP 110
In the Background layer there is an inscription PANEVĖŽYS, in the New layer – MIESTAS.
Select the Move Tool . Click on New layer in the Layers dock, the click on the
inscription MIESTAS and without releasing the left mouse button move it aside:
You have just moved one layer without moving the other one and changed the content
of the image. Let's look at settings of the Move Tool:
Here, you must remember that at first you have to select a layer and then apply to
it.
The layer is selected and moved to the place you want using one of the button. To grasp
how layers are moved, let's do one task.
Task. Draw ellipses of different colours overlapping each other in layers ellipse1 and
ellipse2 (one in each layer) and reverse these layers.
4. Select the yellow foreground colour with the Bucket Fill Tool and
fill the ellipse:
5. Click on the button . A New Layer dialog opens. Enter ellipse2 in the Layer
Name input box. Tick the Transparency checkbox in the Layer Fill Type section.
6. Draw an ellipse with the Ellipse Select Tool .
7. Select the dark green foreground colour with the Bucket Fill Tool
8. Reverse the layers. Click on ellipse1 layer line in the Layers dialog:
9. Click on . Now you can see the image in the working window:
Visibility/hiding of layers
The eye icon that is on the left of the layer line means that the layer is visible. If you
click on it, the icon disappears and the layer becomes temporarily invisible. To make the
GIMP 112
layer visible again, click on the empty square – the eye icon reappears and the layer
is visible again. Layers are usually hidden when they disturb the editing of other layers.
2. Click on the eye icon . Now you can see the image in the working window:
If the Alpha channel is locked, you cannot work on this channel. Select a layer, the
Alpha channel of which you want to lock, and tick the Lock checkbox. You can paint
strokes only in the area that has already been painted on. To unlock, select the layer and
uncheck the Lock checkbox.
Grouping layers
To move, copy, align, transform elements of the image consisting of several layers, you
have to group them. Select a layer and click on the square that is between the eye icon
and the layer thumbnail. After you click on the square, a chain icon appears. Select
another layer and click on the square to make the chain icon appear. To ungroup,
select the layers and click on the chain icon.
Deleting layers
Select a layer and click on the Delete this layer button .
113
to the image button . A duplicate of the layer with the identical content is
automatically created.
Layers take additional computer memory. You can save it by merging them. To merge
two or more layers, select the base layer. Then open a context menu (click the right
mouse button) and in the drop-down list select:
Merge Down, if you want to merge the selected (visible) layer with the layer
below.
Merge Visible Layers, if you want to merge all visible layers.
Flatten Image, if you want to merge all layers. It is recommended to use this
command when the image is created and will not be edited. In this way you can
save some computer memory.
Transforming layers
Select a layer and the command LayerTransform. In the drop-down list of additional
commands choose the one you need:
Layer size
The size of the layer is usually the same as of the image to which the layer is attributed.
However, if you create a text, GIMP will create an additional layer the size of which is
the same as of the text. In the working window, boundaries of the active layer are
rendered in a black-and-yellow dotted line. It is very easy to see the boundaries of the
level when you add the text to the image. Type three words – ESTIJA, LATVIJA, LIETUVA.
As GIMP creates a new layer for text, you text is framed by a black-and-yellow dotted
line:
To resize the layer, go to LayerScale Layer. Set the size of your layer in the dialog:
GIMP 114
When working on layers, remember that the size of the memory taken depends on the
size of the layer, not on its content.
Layer modes
There are 21 layer modes. The Mode tells GIMP how to combine each pixel in the top
layer with the pixel in the layer below it. Every layer may be subject to different modes.
The background mode, i.e. the mode of the last (bottom) layer, does not have any effect
as it does not have any layers beneath it. You should remember that effects of layer
modes are cumulative. Let’s have a brief look at layer modes:
Mode Description
Normal The top layer completely covers the layer below it. If you
want to see the layer below, reduce the opacity of the top
layer. It is the default layer mode.
Dissolve This mode dissolves the upper layer into the layer beneath
it by drawing a random pattern of pixels in areas of partial
transparency. It is useful as a painting mode, but is rarely
used as a layer mode. It should be noted that paint tools
and layers have the same modes.
Multiply This mode multiplies the pixel values (to be more precise,
numeric values of the colour) of the upper layer with those
of the layer below it and then divides the result by 255.
The result is usually a darker image.
Screen This mode inverts the values of each of the pixels in the
lower and upper layers, then multiplies them together,
divides by 255 and inverts this value again. The resulting
image is a little bit brighter and “washed out” in
115
Mode Description
Overlay This mode inverts the pixel value of the lower layer,
multiplies it by two times the pixel value of the upper
layer, adds that to the original pixel value of the lower
layer, divides by 255, and then multiplies by the pixel value
of the original lower layer and divides by 255 again. The
resulting image is a little bit darker, but not as much as
with the Multiply mode.
Dodge This mode is used to dodge any area of the image. For
example, a photo made in the darkroom to decrease the
exposure in particular area of the image, e.g. the face.
Soft light This mode makes colours not so bright. It is similar to the
Overlay mode.
Grain extract This mode subtracts the pixel value of the upper layer
from that of the lower layer and adds 128. It is used to
create a relief image.
Grain merge This mode is the same as Grain extract, only it adds the
pixel values of the upper and lower layers together and
subtracts 128.
Addition The pixel values of the upper and lower layers are added
to each other. The resulting image is much lighter.
Subtract This mode subtracts the pixel values of the upper layer
from the pixel values of the lower layer. Negative values
are replaced with 0. You get a lot of black in the resulting
image.
Darken only This mode compares pixel values in the upper layer and
the lower layer. The resulting image has a colour of the
smaller value. White upper layers have no effect on the
GIMP 116
Mode Description
Hue This mode uses the hue of the upper layer and the
saturation and value of the lower layer to form the
resulting image. However, if the saturation of the upper
layer is zero, the hue is taken from the lower layer, too.
Saturation This mode uses the saturation of the upper layer and the
hue and value of the lower layer to form the resulting
image.
Color This mode uses the hue and saturation of the upper layer
and the value of the lower layer to form the resulting
image.
Value This mode uses the value of the upper layer and the
saturation of the lower layer to form the resulting image.
When the mouse pointer is on the layer, clicking the right mouse button opens a context
menu with the following commands:
Anchor Layer To anchor the temporary (floating) layer with the active
layer below it.
Merge Down To merge the layer with the layer below it.
Layer to Image Size To make the layer of the same size as the image.
Merge Visible Layers To merge all visible layers into one layer.
Flatten Image To merge all visible layers into one layer and remove
transparency.
Masks
Sometimes you need to create a very complex selection, where the selection tools you
have cannot help you. Gimp has a special tool – a Quick Mask – to paint a selection.
When you select an object or an area in the image, the selection is framed by marching
ants, which is not a simple frame. It is a grayscale representation of a channel covering
the whole image. The value of each pixel (point) in the channel is between 0 and 255. If
a pixel is not selected, its value is 0, if selected – 255. If a pixel is semi-selected, its value
is lower than 255 and we see a frame of marching ants. The Quick Mask mode is often
used. When it is enabled, you can work on the selected part in the image in another
level, because editing operations are performed in the selection channel.
Quick mask
To access the Quick Mask, press the Toggle Quick Mask button that is on the bottom left
corner in the working window.
GIMP 118
Press this button again, if you want to exit the Quick Mask mode.
Enable the mask mode by pressing the Toggle Quick Mask button that is on the bottom
left corner. The image in the working window is covered by a red semi-transparent veil:
Select the Paintbrush Tool, set the white colour as the Foreground colour and re-paint
the giraffe's head using the paintbrush. You can imagine that you are painting in a new
layer. In fact, it is a temporary layer which can be accessed through Layers, Channels,
Paths..., Open the channels dialog . In this mode, the image is not changed, i.e. the
actions you perform do not change the original image:
119
Disable the Quick Mask mode. In the working window you can see the selection of the
giraffe's head. You can work on it the same as you work on any other selection.
Sometimes you need to save the selection in the channel together with the Quick Mask.
Press the Create a duplicate of the layer and add it to the image button that is in
the Open the channels dialog on the Layers, Channels, Paths... dialog.
TASK. Open lily.jpg and use the Quick Mask mode. Mark lilies using the Ellipse Select
Tool and apply the Blend Tool to the selection with the following settings:
Foreground color – black
Background color – white
Gradient – FG to BG
Shape – spiral(cw)
Disable the Quick Mask mode and move the selected lilies to an empty page.
Shape –
7. Apply the Blend Tool to the selection:
8. Disable the Quick Mask mode. The image you see in the working window:
121
11. Enter the number of the width of the file into the Width input box, and the
height into the Height input box.
12. Press the OK button.
13. Paste the lilies into the empty working window using the command EditPaste.
Remove the selection. The resulting image looks like this:
GIMP 122
Note!
An object is moved from the temporary memory to the "temporary" layer, which in the
layer menu looks like this
Merge this layer with the active layer below it using the button .
LAYER MASK
Masks can make layers fully transparent, semi-transparent or opaque. They are often
used to create image montages or to create the effect of one image transition to the
other image.
Let's see how to work on the transparency of masks. Take two colour images. They
should be of the same size.
Open pan_4.jpg and pan_5.jpg through FileOpen as Layers. The resulting image will
be Carlson flying over the stormy sea.
2. Reverse the layers. In the Layers dialog click on the layer pan_5.jpg and button
. Now the Background layer covers pan_5.jpg.
3. To create a mask, start with the right click on the Background layer to call the
context menu and select Add Layer Mask in the menu. A Add Layer Mask dialog
appears, where you can initialise the content of the mask:
White (full opacity) – the mask is white. Paint with black to make layer pixels
transparent.
Black (full transparency) – the layer is fully transparent. Painting the mask with
black makes layer pixels opaque. Painting with white will remove the mask and
make layer pixels visible.
Layer's alpha channel – the mask is created according to the content of the
Alpha channel.
Transfer layer's alpha channel – it has the same effect as the previous option,
except that it also makes the Alpha channel fully opaque.
Selection – the mask is created for the selection.
Channel – the mask is created for the selected mask you have created before
and stored in the Channel dialog.
Invert mask – this checkbox allows you to invert colours (black turns to white,
and white turns to black).
Set White (full opacity). Press the Add button.
GIMP 124
The icon of mask transparency appears next to the name Background in the Layers
dialog.
The transparency mask is placed on the layer and creates transparent and opaque areas.
The area where the mask is white is opaque, where black – transparent, where grey –
semi-transparent. Before painting on the mask, create areas with different levels of
transparency. You can edit a layer mask only after it is created. All operations are
applied to the mask, not the image in the layer.
4. Make the layer transparent in the area where the flying Carlson is in the lower
Carlson's figure uncovered with This area of the image is zoomed The middle part of Carlson's figure
in using the Zoom Tool and the adjusted with the foreground
the foreground colour
Zoom in option. Carlson's figure colour (4f4949)
(aaaaaa)
adjusted with the foreground
125
colour (ffffff)
The top part of Carlson's figure The image zoomed out using the
adjusted with the foreground Zoom Tool with the Zoom out
colour (010000) option. Carlson's figure adjusted
7. Come back to the Layer Edit mode. Right click on the layer to call the context
menu and select Edit Layer Mask in the menu. Now, you can work on the layer
with a different level of transparency.
8. Come back to the Edit Layer Mask by selecting Edit Layer Mask in the context
menu.
9. To see the layer mask created, select Show Layer Mask in the context menu.
The layer mask that you can see in the working window looks like this:
10. Use the command Disable Layer Mask in the context menu to disable the layer
mask temporarily.
11. To apply the mask, select Apply Layer Mask in the context menu. You can see a
montage of two images, where one of them has different levels of transparency.
GIMP 126
TEXT
You can easily create and quickly edit text using the Text Tool . This tool has certain
options.
Select the Blend Tool and various options available in the Toolbox menu:
127
Font – you can select a font and its style. Click on and in the drop-down
list select a font style.
Font Size – you can choose the font size in the units of measurement of your
choice:
o in – inches
o mm – millimetres
o pt – points
o px – pixels
Hinting is useful when working with small font sizes. The programme uses
indices of adjustment.
Force auto-hinter computes information to facilitate working with small font
sizes.
Antialiasing renders fonts with smoother transition, i.e. edges of font symbols
are a little bit blurred.
GIMP 128
Color – the font colour. Clicking on calls the Text Colour window.
Note!
If you need to select the exact colour that is in the image, use the button . The
mouse pointer turns into and is set on the area, the colour of which you want to
give to the font.
TASK. Create text Amboseli NATIONAL Park KENYA in pan_6.jpg, where the font used
is Droid Serif, the font size is 18, and the font colour is black. Format the text.
1. Open pan_6.jpg.
129
dialog opens, where you can type or Open your text (button ):
GIMP 130
entered. The button causes the text to be entered from left to right, as is
the case with most languages, and the button allows text to be entered
from right to left, as is the case in certain Arabic countries. Enter the text and
press Close to close the dialog. Your text appears in the place selected.
Type Amboseli NATIONAL Park KENYA into the GIMP Text Editor dialog.
5. Tick the Use selected font checkbox, if you want to apply the font of your
choice at once.
6. Press the Close button. You can see the text in the image:
Note!
Please note that the layer menu has a new layer Amboseli NATIONAL Park . A new
layer is always created for text as it is not a raster object. You can perform all standard
layer-related operations on the new layer.
131
The text is hardly legible. Change the font into Arial Heavy, font size into 72. Also, centre
the text and adjust the letter spacing.
Note!
You can modify the text only when the layer is active.
8. Select Droid Serif Bold Italic. To do that, press and select the font in the
drop-down list. The font instantly changes in the image:
Note!
The input box is too small for the text. Scale the frame using the handles.
9. Change the font size. Enter 24 into the Size input box.
10. To centre the text press the Justify button Centered.
11. To increase letter spacing, hold down the triangular button until
the value is 2.
You can see the text in the image:
When being within the frame, the mouse pointer turns into . Left click on the
area to which you want to move the text. Move the text. The resulting image
looks like this:
Note!
If you need to move the text very precisely, use keyboard keys . Pressing one of
these keys you can move the selected object to the direction you want by one pixel. If
you press the arrow and the SHIFT key together, the object is moved to the direction
you want by 25 pixels.
Paint several strokes with the Paintbrush Tool. If the text layer is active, you can paint
strokes in the text frame only. Paint several strokes.
Now, the text box contains a raster graphics object (paintbrush strokes) and a vector
graphics object (the text).
If you try to edit the text now, the programme displays a confirmation. The text layer
cannot edit raster and vector graphics at the same time, hence when you try to
compare them, the programme offers either to create a new layer and to place the text
in it, or to remove the paintbrush strokes and work on this text layer when it contains
the text only.
133
Thus, it is not recommended to mix text with any other graphics since text layers are
placed above graphic layers so that it is possible to edit the text later.
Note!
If you do not like the format or the colour of your text, you can select the tool .
Click the mouse pointer on the text you want to edit. A GIMP Text Editor dialog is
open again and you can see your text to be edited. The layer of the text to be edited
must be active.
Conclusions
When working on text, remember:
a text layer is created for every text you create. You can work on this layer the
same as you work with any other layer. For more graphic texts use the
appropriate display modes.
the Path tool creates a path along which you can create a text;
if you transform a text into a path, you can apply a pattern to it;
you can choose font, font size, font colour, alignment, underlines, but all this
information will be lost if you save the image in other than .XCF format.
Paths
A path is an unbroken curve. It has two main purposes:
to convert a path to a selection;
to create a closed or open path in order to paint in different ways.
GIMP allows you to convert a path to a selection and vice versa – to convert a selection
to a path.
GIMP 134
Note!
When you transform a selection into a path, the path follows the "marching ants".
Remember that the selection is a two-dimensional entity, and the path is one
dimensional, so transformation of a selection into a path may result in losing data, i.e.
any information on partially selected areas will be lost.
Path creation
To create, edit or move a path, use a Paths Tool Paths Tool . By default, this tool is
in the Design mode.
TASK. Open kon_1.jpg and using the Paths Tool paint a path around the mother
with a baby.
You can change the form of a path when designing it as well as later. For this purpose,
learn more about tool options. Once the tool is selected, the dialog widow shows its
possible settings:
135
If you click the mouse pointer between nodes, a new node is created
which can also be edited.
To close a path in this mode, click the mouse pointer on the first point
of the path and then on the last point of the path. In this way you create an
additional segment between these points, linking them together. To remove
a node, while pressing the Shift+Ctrl key combination click the mouse
o Move – a mode where a path can be moved to another place in the image.
The path cannot be edited in this mode.
Polygonal allows you creating a polygonal path (with sharp corners).
The Selection from Path button automatically creates a selection, the form of
which corresponds to the form of the path. This tool may be used to select a
certain area in the image because it is more precise than the Free Select Tool.
Note!
When you create a path and press the Selection from Path button, the path does not
disappear, but the area surrounded by the path is selected. You can modify the path.
GIMP 136
Then press the button and the previous selection will be replaced with a new one
according to the modified path.
The Stroke Path button allows you creating a raster image of a path. Press the
button and a Stroke Path dialog box appears where you can choose the style of
a line that will stroke the path:
Mode I. Stroke line allows you to indicate that the path you created will be
marked by a line and to choose its settings:
o Line width – the width of the line to mark the path. The larger the number
is, the thicker the line you create.
o Solid color – the colour of the line is the same as the foreground colour.
o Pattern – the line may be patterned;
o The Line Style drop-down list offers some additional settings:
Note!
137
In this mode you can fully edit the style of a line that follows the path and the form of
dashes.
Mode II. Stroke with a paint tool – you can simulate that the path is created
using one of the paint tools from the drop-down list:
Paths dialog
The Layers, Channels, Paths dock embeds an icon . Clicking on the icon opens a
list of paths belonging to the active image:
To see the previously created path, press the button on the left of the path in the Paths
menu (the same as in layers).
Paint along the path To paint a line that goes along the path
choosing one of the two possible modes in
the aforementioned Stroke Path dialog box.
Holding down the Shift key allows painting
the path using the last values.
Path name
Paths, same as layers, may have meaningful names. Later on, when editing the path in
the image containing several paths it is easier to find the one you need by name.
Right click on the name given by default in the Paths dialog box of the layers bar. When
you choose the command Edit Path Attributes, a Path Attributes dialog box opens.
139
Create a new name of the path in the Path name input box and press OK.
Conclusions
1. This tool is used for two purposes: for a very precise selection and drawings
created by tools or dashes.
2. This tool edits the line of a path in detail, which is impossible with any other
selection or paint tools.
Additional tools
GIMP has many tools that are sorted and stored in appropriate docks. We have already
discussed the main two of them – the Toolbox and Layers, Channels, Undo – Brushes,
Patterns, Gradients.
Note!
Once you have familiarised yourself with all dockage dialogs, you should decide which
ones will be used the most and place them in individual docks or add as tabs to docks. In
this way, you will not have to look for them again.
Structure of a dock
Since we already know the Layers, Channels, Undo – Brushes, Patterns, Gradients dock,
we will used it as an example to discuss the structure.
By default, the top section contains a four-tab menu (A). Clicking on each tab calls a
respective dialog:
GIMP 140
Icon Name Explanation
You can supplement this menu at any time through Add Tab.
Every tab is different in terms of a list of special commands which is called by pressing
left arrow button B. This button is in the top right corner of every tab dialog. Open the
list of special commands:
The first command is designated for a specific tab, i.e. for a tab the dialog of which is
opened (A). Selecting the first command opens another list of commands that allows
you to determine a particular tab (layers, channels, paths, etc.). The remaining
commands are the same for all tabs:
Add Tab – you can choose an additional tab from the list of commands and add
it to list A.
141
Close Tab – you can close the active dialog. Closing the last dialog removes the
tab from list A.
Detach Tab creates an independent dock. This command is usually used when
you need one or two docks. Apply this command to the Layers dialog and you
will have an independent Layers dock.
Lock Tab to Dock prevents the tab from moving from list A since the tab may be
removed from the list by pressing the left mouse button and dragging the tab
out of the list. This command allows you to avoid accidental moving.
Preview Size determines the size of thumbnails in the preview window. You can
choose the size of thumbnails in the drop-down list:
GIMP 142
Preview sizeMedium Preview sizeExtra Large Preview Size Medium Preview Size Extra
Large
Tab Style opens a list of additional commands which allows you to choose the
tab style in list A:
The command Tab StyleIcon & Text is applied to the Layers tab, and Tab StyleText
to the Paths tab.
Using this menu you can switch between images you are working on.
Auto Follow Active Image enables the mode where the content of the dock is
always consistent with the active image, i.e. with the image you are working on.
Channels
You can open the Channels dialog by clicking on in the tab menu. Here you can set
the visibility of respective colours.
143
Every point (pixel) is a combination of three primary colours (red, green, blue). This is
why you see channels of these colours in the dialog. You can enable/disable the use of a
certain colour using the eye button . For example, if you disable the blue channel,
all shades of blue are removed from the image, and the colour of points (pixels) is mixed
only from two colours – red and green.
When you disable all colour channels, the image disappears leaving only a black sheet.
Subject to the image file format, the dialog box may have an Alpha channel that is
responsible not for a colour but for the transparency of points (pixels). It is like a
transparency mask.
At the bottom of the channels dialog box, there are several buttons
You can enter the name of the channel into the Channel name input box.
The slider of the Fill opacity scale determines the opacity of the channel’s fill. It
is recommended to set it at 50.0.
Clicking on opens a New Channel Colour dialog box, where you can choose
a colour for the channel.
GIMP 144
Choose a colour to be mixed with primary colours and press the OK button. A new
channel appears in the list of channels.
TASK. Open pan_7.jpg and pan_8.jpg in two different layers and create a new orange
channel with the opacity set at 50 and 25.
6. Clicking on opens the New Channel Color dialog, where you can choose a
colour for the channel. Select the orange colour and press the OK button. The
New Channel Color dialog closes.
7. Press the OK button, and the New Channel dialog closes. The resulting image in
the working window looks like this:
145
Note!
With the Channel dialog you can control hue in the image. However, for this purpose it is
recommended to use other colour modification tools.
Colormap
Open the list of special commands (B) (see “Structure of a dock”). Select the command
Add TabColormap, and the list of 4 tabs is supplemented with a new Open the
colormap dialog tab. This tab allows you to work on colours in the image using
special indexation methods to set the colour for a point (pixel). This tool is not used with
standard colour models – RGB, grayscale.
GIMP 146
When you click on the tab, a colormap dialog opens notifying that only indexed images
have a colormap.
HISTOGRAM
Open the list of special commands (B) (see Chapter “Structure of a dock”). Select a
command Add TabHistogram, and the list of 4 tabs is supplemented with a new Open
the histogram dialog tab. A Histogram dialog opens, where you can see
information on the distribution of colour values in the active layer and selection.
This information is very useful when you are trying to colour balance an image.
Let's analyse the information provided in the Histogram dialog. In the centre of the
dialog there is a histogram (A) – a graphical representation showing how much a certain
colour is used in the image. Under the histogram there is a small bar (B) going from
black to white. This bar shows the hue that is rendered above. If the black graph is high
above light tones in the bar (B), the image is dominated by light tones. If it is above the
dark tones in the bar (B), the image is dominated by dark tones. If the main load is on
the middle section, above grey tones in the bar (B), the image is dominated my
undertones.
Selection editor
The selection editor makes working on selections easier.
Open pan_9.bmp, select the Ellipse Selection Tool and one berry.
147
Open the list of special commands (B) (see Chapter “Structure of a dock”). Select a
command Add TabSelection Editor, and the list of 4 tabs is supplemented with a new
With the dialog buttons you can perform certain actions on the selection. The black
colour represents the non-selected area in the image, the white colour – the selected
area. If the selection is not created in the image, the entire window is black. This window
clearly shows whether a selection is or not. At the bottom of the dialog there are some
Invert the selection Parts of the image which were not selected are
now selected, and those that were selected are
now deselected.
Paint along the path To paint the selection along the path with a
pre-selected type of line.
NAVIGATION
This tool offers easy navigation in the image, the possibility to scale it visually and move
around its individual parts.
Open pan_9.bmp. Open the list of special commands (B) (see Chapter “Structure of a
dock”). Select a command Add TabNavigation, and the list of 4 tabs is supplemented
with a new Open the display navigation dialog tab. A Display Navigation dialog
opens:
149
In the middle of the dialog, you can see the opened image reduced in size and a slider
beneath it that allows scaling the image: moving the slider to the right increases the size
of the image, to the left – decreases the size of the image. At the bottom of the dialog
Adjust the zoom ratio that To adjust the size of the image
the image becomes fully automatically so that the whole image
visible becomes visible in the window as it is.
Reduce the image window To adjust the window to the size of the
to the size of the image image. If the dimensions of the image are
display smaller than the window where this image
is displayed, clicking on this button
automatically reduces it to the size of the
image.
Note!
GIMP 150
All these actions may be performed using the Zoom Tool, but the tools above are more
convenient.
One of key functions of this dialog is movement around the image. The Zoom out button
enlarges the visual size of an image so that is does not fully fit in the working window.
Look closer at the Display Navigation dialog:
The part of the image that you cannot see is in the darker background and the visible
part is framed and of the same colour as in the original. This frame together with the
respective part of the image can be moved to another place. When you place the mouse
pointer inside the frame, it turns into a pointer with four arrows to different sides.
151
Press the left mouse button and without releasing it move the frame to another place.
The image will also move.
Note!
This dialog is often used, therefore it is recommended have this tab in the Layers,
Channels, Undo – Brushes, Patterns, Gradients dock.
UNDO HISTORY
This dialog displays a list of actions you have performed on an image and allows you to
edit them. It is activated by clicking on in the tab menu. An Open the undo
history dialog opens:
Now, you see the undo history together with thumbnails on the left. Open pan_10.jpg
and the Open the undo history dialog.
GIMP 152
In the Undo History list there is only one item, that is the Base Image, showing that an
image will be created.
Select the Free Select Tool and select the otter. Then invert the selection through
SelectInvert. The selection becomes the otter’s background. Change the foreground
colour: click on and in the Change Foreground Color dialog select dark brown
(HTML notation - 350707).
Now, select the Blend Tool and apply a square-shaped gradient to the selection.
153
You have just performed four actions: opened the image, applied the Free Select Tool to
it, inverted the selection and applied a gradient to it. All these actions are listed in the
Undo History and you can perform certain operations with them. In the list, the last
action is always highlighted to denote that all the actions above have been performed.
You can undo or repeat the action you want. At the bottom of the list there are three
buttons :
Redo the last operation that To move down by one step in the
was undone undo history by redoing the actions
which were undone.
Remove all operations from the To empty the undo history. Clicking
undo history on this button opens the Clear Undo
History dialog, where you can confirm
your intent to clear the undo history
by pressing the Clear button.
GIMP 154
Button Name Description
Note!
Although the history is cleared, all the actions performed remain, i.e. they are not
cancelled, and all the subsequent actions are recorded again. This dialog is used to undo
the unnecessary operation and to add the necessary operation at any stage of your
work.
Open the list of special commands (B) (see Chapter “Structure of a dock”). Select a
command Add TabPointer, and the list of 4 tabs is supplemented with a new Open
Open pan_9.bmp and place the mouse pointer on one of the apples. Let’s have a look at
the Pointer Information dialog.
The information about the pointer is displayed in two columns: Pixels, where
coordinates of a point (pixel) are presented in pixels, and Units, where coordinates are
provided in inches.
155
Below you can find lists where you can choose the object of the information – pixels,
RGB, HSV, CMYK. The first two items display the colour value of an RGB pixel, HSV
displays the tone, and CMYK displays the colour value under the selected colour model.
If you tick the Sample Merged checkbox, the information of the pixel will not depend on
the layer where it is. In such a case, it is considered that the image has only one layer.
Open the list of special commands (B) (see Chapter “Structure of a dock”). Select a
command Add TabSample Points, and the list of 4 tabs is supplemented with a new
Open the sample points dialog tab. A Sample Points dialog opens.
1. Open pan_9.bmp.
2. Select four points in the image, the information on which you would like to get.
To create a sample point, holding down the Ctrl key place the pointer on the top
horizontal linear, click the left mouse button and paint the lines that appeared
on the point. When you release the left mouse button, a round mark and an
order number appear at that place . The Sample Points dialog displays
information on the point.
3. Select another three points, the information on which you would like to get.
GIMP 156
4. Open the list (Pixel) and select the type of information. The information is
displayed below the list. Users are usually interested in information on colours
of the RGB colour model.
Note!
This dialog is different from the mouse pointer information dialog: the Pointer dialog
displays information on only one active point, on which the mouse pointer is placed,
while this dialog displays information on four points at any time.
COLOURS
This dialog allows a very accurate selection of a colour which later you can use as an
active tool. So far, we have changed colours using from the Toolbox.
Open the list of special commands (B) (see Chapter “Structure of a dock”). Select a
command Add TabColors, and the list of 4 tabs is supplemented with a new Open the
FG/BG color dialog tab. A FG/BG Color dialog opens. At the centre of this dialog
(A) there is a colour palette. Clicking on appropriate points you can select shades.
157
You can set a colour using slider B. At the top section there are buttons (C) to select a
colour model:
Note!
159
Brushes
This dialog offers various brushes. Here, you can create or select brushes, delete the
ones that you not need anymore. These brushes may be used not only with the
Paintbrush Tool, but also with different tools that paint in strokes.
new Open the brushes dialog tab, the thumbnail of which may change
subject to the brush you choose. A Brushes dialog opens. It consists of two
parts:
Below the Spacing scale, there is a bar of buttons (C) that edit brushes:
When you set parameters for a new brush, close the window (by clicking on on the
top left corner). The new brush appears in the window of standard brushes. Now, you
use it as any other brush.
Creating a brush
1. Open a new 100x100 working window with a grey foreground and a white
background. Select the command FileNew and adjust the following settings
in the Create a New Image dialog:
GIMP 162
Width – 100;
Height – 100;
Color space – grayscale;
Fill with – white as in this case the white background will be the Alpha channel,
i.e. transparent.
mouse pointer turns into . Click it on the petal to be rotated, and a Rotate
dialog box opens.
6. Join the petal with the first one using the Move Tool.
8. When you are performing a copy action, a Floating Selection appears, which you
can find in the Layers dialog.
GIMP 164
Click on the Anchor the floating layer button. The selection is anchored to the
background layer.
9. Name the image “Flower” and save it as .gbr (this extension is used for brushes)
in C:\Program Files\GIMP-2.0\share\gimp\2.0\brushes. For this purpose, use the
command FileSave As . Adjust the following settings in the Save Image
dialog:
File Type – GIMP brush;
Name – flower;
Places – .
Press the Save button.
http://qbrushes.com/nature/photoshop-grass-brushes/
http://qbrushes.com/plants/grasslands-brushes/
http://qbrushes.com/plants/tree-brushes-2/
165
1. Open a website where you found brushes that you are interested in.
2. Press the Download button. The system asks you where to store your
downloads.
3. Select the place and wait until the files are downloaded to your computer. Files
are usually downloaded compressed.
4. Extract the files and store them in the same folder where you store the brush
you created, i.e. C:\Program Files\GIMP-2.0\share\gimp\2.0\brushes.
5. Open a working window.
6. Open a working window through FileNew .
7. Select a brush. Look through all possible brushes. Here you can see the brushes
downloaded from the Internet.
Patterns
It is an additional patterns dialog, a library of all possible patterns. Patterns are used for
certain paints tools (for example, the Clone Tool).
GIMP 166
Open the list of special commands (B) (see Chapter “Structure of a dock”). Select a
command Add TabPatterns, and the list of 4 tabs is supplemented with a new Open
the pointer patterns dialog tab. A Patterns dialog opens, where you can find all
patterns. The pattern you select is applied to the active tool. This dialog has several
buttons:
Gradients
This dialog displays a gradient library. You can select any gradient and use it with the
Gradient Tool.
Open the list of special commands (B) (see Chapter “Structure of a dock”). Select a
command Add TabGradients, and the list of 4 tabs is supplemented with a new Open
the gradients dialog tab. A Gradients dialog opens, where you can find all
gradients. Some of them depend on the colour you choose, the remaining ones use their
pre-determined colours. This dialog has several buttons:
Palettes
This dialog allows you to work with colour groups.
Open the list of special commands (B) (see Chapter “Structure of a dock”). Select a
command Add TabPalettes, and the list of 4 tabs is supplemented with a new Open
the palettes dialog tab. A Palettes dialog opens, where you can find all colour
groups.
To use a certain colour group, double click on the thumbnail of the group you want. A
Palette Editor dialog opens with all colours belonging to that particular group.
169
Click on the colour and it is automatically set as the foreground colour to be used by the
active tool.
At the bottom of the tab dialog you can find a few buttons
Enter the name of a new colour group in top input box A. In section B, open a context
menu and select New Color from FG ( ). The first colour, namely the foreground
colour, appears in the list of colours. If you change the foreground colour, this new
colour is automatically added to the list.
GIMP 170
After you create a group, press the Save button . This new group appears in the
list.
Note!
GIMP offers several ways to select a colour. Colour groups not only allow you to select
the colour you want, but also to use the whole colour palette to provide the image with
as natural colours as possible.
Fonts
In this dialog you can find all fonts that the system has. You can select a font for texts.
Open the list of special commands (B) (see Chapter “Structure of a dock”). Select a
command Add TabFonts, and the list of 4 tabs is supplemented with a new Open the
fonts dialog tab. A Fonts dialog opens, where you can find all fonts that are in the
system. Select the Text Tool and click on the font in the Fonts dialog. This font is
attributed to the tool.
Note!
You cannot create a font yourself as there is no such programme.
171
Buffers
It is an exchange buffer. Sometimes you need to copy several elements of the image and
load them one by one.
First of all, let’s look at a command EditBuffer. A list of additional commands opens:
Cut Named – cuts the content of the selection and pastes it in an exchange
buffer named by you. A name is necessary to recognise the buffer among
others.
Copy Named – a new exchange buffer is created, in which the selection you
copy and name is stored.
Copy Visible Named – the selection of all visible layers is stored in a newly
created exchange buffer.
Note!
In all the cases above, a Copy Named dialog opens:
Enter a name in the input box for a selection stored in the exchange buffer.
Paste Named – the content of the exchange buffer selected is pasted into the
image. After you select this command, a Buffers dialog opens. Click on the
buffer, the content of which is to be pasted.
Open the list of special commands (B) (see Chapter “Structure of a dock”). Select a
command Add TabBuffers, and the list of 4 tabs is supplemented with a new Open
the named buffers dialog tab. A Buffers dialog opens, where you can find all
selections stored in exchange buffers.
Images
GIMP 172
This dialog displays a list of all images that are opened. You can activate an image by
clicking on its thumbnail, i.e. you can switch between images in this dialog. Open several
images.
Open the list of special commands (B) (see Chapter “Structure of a dock”). Select a
command Add TabImages, and the list of 4 tabs is supplemented with a new Open
the images dialog tab. An Images dialog opens, where you can find a list of all
images that are opened.
Create a new display To open the same image twice, i.e. the opened
for this image image is duplicated.
Delete this image To delete the selected image from the list.
Document history
This dialog shows a list of files that were opened before.
Open the list of special commands (B) (see Chapter “Structure of a dock”). Select a
command Add TabDocument History, and the list of 4 tabs is supplemented with a
new Open the document history dialog tab. A Document History dialog opens,
where you can find a list of all files that were opened.
173
Remove the selected entry To delete the selected image from the
history.
Clear the entire document To clear the entire history. A new history
history will be created from the files opened
after the clearing.
Templates
This dialog contains all possible templates. You already know that you can select a
standard GIMP template or create a new one. This dialog allows you to edit the existing
templates or create new ones.
Open the list of special commands (B) (see Chapter “Structure of a dock”). Select a
command Add TabTemplates, and the list of 4 tabs is supplemented with a new Open
the image templates dialog tab. An Image Templates dialog opens, where you can
find a list of all possible templates:
GIMP 174
Double click on the name of the template, and an image with the dimensions selected
will automatically open. At the bottom of the tab dialog there are five buttons:
Create a new image from It has the same effect as the double click
the selected template on the name of a template – a new
image from the selected template is
opened.
Edit the selected template An Edit Template dialog opens. It has the
same content and the New Template
dialog. You can edit the selected
template.
Tools
The additional tools dialog offers the opportunity to create a convenient working
environment and to select tools in the same order as you want to see them in the
working window.
Open the list of special commands (B) (see Chapter “Structure of a dock”). Select a
command Add TabTools, and the list of 4 tabs is supplemented with a new Open the
tools dialog tab. A Tools dialog opens, where you can find a list of all possible tools.
GIMP 176
Next to certain tools there is a small icon , which shows that the tool is already in the
toolbar. If you click on it, the tool, next to which this eye icon is, is removed from the
toolbar. If you look through the list, you will find several tools that are not in the toolbar.
These are the tools that allow you to work on colours in the image.
Reset tool order and To reset the standard set of tools and
visibility their order.
177
Error console
This dialog displays all errors that occurred in the working process. What kind of errors
are these? They are related to incorrectly used functions or invalid operations.
Open the list of special commands (B) (see Chapter “Structure of a dock”). Select a
command Add TabError Console, and the list of 4 tabs is supplemented with a new
Open the error console tab. An Error Console dialog opens with a list of all errors
that occurred in the working process.
Note!
Additional dialogs expand standard settings. They help create a convenient working
environment. You should not refuse additional dialogs as they have many useful
functions.
Filters
Filters are a special kind of tool designed to add various elements to the image and to
perform interesting operations with it. GIMP software comes with a range of different
filters.
Let's say that we have a sheet of paper with an image on it in front of us. We take a
piece of cut glass and place it on the image. Of course, visually the image has changed, it
looks like stained-glass. The image has changed when we looked at it through a piece of
glass.
The afore-given example illustrates how the filter works. The image on the sheet of
paper is our opened image, whereas the cut glass is the filter applied to the image.
However, not all filters can be explained by the said example. GIMP features several
GIMP 178
filters that work in a slightly different manner but they all change the image by
modifying its exterior view and adding additional elements to it.
You can find the list of all available commands for the work with filters under the menu
item Filters
Filters are divided into groups; they are very well structured. For instance, the Distorts
sub-menu is designed for image distorting; the Artistic sub-menu is used for imitating
various artistic styles and the methods of creating a painting, etc.
The selected filter is applied to a full image on the current layer. If we have just opened
the image and applied a filter, the filter will affect the sole layer (Background). If the
image is composed of several layers, the layer containing the element to which the filter
is applied is first selected and then followed by the application of the filter. Certain
filters do not change the image.
The area of filter effect can be limited by selecting, i.e. first of all, the image area is
selected and then followed by the application of the filter to the selected area.
It should be noted that the dialog boxes for setting all filter parameters contain a
preview window that enables a real-time preview of modifications in the image to be
made by the filter after setting the parameters and before the application of the filter.
The user should be aware that certain filters significantly overload computer memory,
therefore, sometimes the preview option should be closed.
The methodology of application is similar for all filters. Let's analyse several filters from
each group.
Blur filters
It is a group of filters that blur the image, i.e. it becomes less clear. After selecting Filters
Blur command a list of filters belonging to this group appears where each filter blurs
an image in a different way.
Blur
In this group the Blur filter is the simplest filter that does not require any additional
settings and makes the image more blurred. You can see a blue bar at the bottom of the
main program window which shows the filter loading. The speed of filter application to
the image depends on the size of the edited image and computer technical properties.
The filter may be applied instantly or its loading may take several minutes. Once the
filter is applied the image becomes slightly blurred.
179
It is applied to cover unwanted marginal speckles, tears or small defects caused by
scanner glass dust while scanning. If required, the filter may be used repeatedly. If a
stronger blur effect is needed, the GAUSSIAN BLUR filter is a better option.
Note!
Once the filter is applied, the image seems like captured by a moving camera. The filter
calculates an average colour value for each pixel by means of the values of two adjacent
pixels.
Gaussian blur
It is a more sophisticated filter as it provides more possibilities for adjusting the intensity
of the blur effect.
Note!
The key point of the Gaussian Blur method is that the colour of each pixel changes
depending on the colour of the pixels surrounding it. The larger the area around the
pixel, the more blurred the image gets. This parameter specifies the radius of the area of
the surrounding pixels for formatting each of the following pixels.
The values Horizontal and Vertical are interdependent; when one value is
changed, the other changes as well. It is required to make the blur even.
Once they are disconnected and different values are entered, the result is a
movement effect, however, there is a separate filter to cover this function;
Note!
There is no visual difference between one or another type of blur because the difference
lies on the program level only.
TASK. Open image fil_1.jpg. Apply the Gaussian Blur filter to the central blossom by
setting the following parameters:
a) blur radius Horizontal and Vertical – 20 mm;
b) blur radius Horizontal – 20 mm, Vertical – 10 mm.
Open the image that contains a single more pronounced object in the
monotonous background;
Select FiltersBlurSelective Gaussian Blur command. It opens the Selective
Gaussian Blur dialog box
Note!
After applying the filter, the image background gets blurred and the objects in the
foreground as if separate from it, thus rendering the depth effect.
Pixelize
This filter approximates the low resolution effect, i.e. by increasing pixels the image gets
blurred. We know that each image is composed of tiny pixels. This filter, otherwise
known by the name of Abraham Lincoln, essentially enlarges the pixels of the image,
thus creating the blur effect.
Note!
If the pixels that compose the blurred image need to be square-shaped, select identical
width and height. In case different values are indicated, pixels will be rectangular.
The higher the values of width and height selected, the more blurred the
image gets
4. Press OK.
TASK. Open image fil_1.jpg. Apply the Pixelize filter to the image with the pixel size set
to:
a) square pixels: width – 15 px; height – 15 px;
b) rectangular pixels: width – 30 px; height – 10 px;
c) square pixels: width – 25 px; height – 25 px;
A.
B.
C.
Motion blur
The filter creates the blur effect with motion imitation as it blurs each pixel to the
specified direction. The effect resembles a view captured by a low-quality camera from a
driving car; once developed, the result is a blurred view.
Note!
Where the angle is set to 0, it produces a horizontal blur; where the angle equals to 90,
it results in a vertical blur.
TASK. Open image fil_1.jpg. Apply the Motion Blur filter to the image by setting the
following parameters:
a) Blur type – Linear; Blur Parameters:
Length – 25;
Angle – 45;
b) Blur type – Radial; Blur Parameters:
Blur Center:
X – 588;
Y – 703;
Angle – 10;
c) Blur type – Radial; Blur Parameters:
Blur Center:
X – 250;
Y – 500;
Angle – 45;
d) Blur type – Zoom; Blur Parameters:
check the Blur outward checkbox;
Length – 45;
e) Blur type – Zoom; Blur Parameters:
uncheck the Blur outward checkbox;
Length – 45;
A.
B.
C.
D.
E.
Enhance filters
The filters of this group enhance the general view of the image, remove various noises,
spots, red-eye effect.
Unsharp mask
This filter sharpens the image in a certain way. It should be noted that the sharpness of
the image is not enhanced for a full image at once but by sharpening its borders,
silhouettes and contours. For example, we have an image picturing a man with a rather
dim silhouette. By applying this filter only the man's silhouette is sharpened.
1. Open an image;
2. Select FiltersEnhanceUnsharp Mask command. Once the Unsharp Mask
dialog box opens, set the parameters
The sharpness of the silhouette edges results by blurring the areas of the image
behind the silhouette edges. The higher the Radius value, the larger the distance
of the blur from the silhouette edges. By increasing the value, we increase the
number of blurred adjacent areas;
The Amount parameter controls sharpness. The higher the value, the sharper
the contour borders;
GIMP 190
The Threshold parameter describes the difference in pixel values on contour
borders. The image usually contains various contours. By setting the parameter
values, we change the filter sensitivity to various edges that allows the
maximum focus of filter effect;
3. Once all parameters are set, press OK;
TASK. Open a dim photograph unsharp1.jpg. Sharpen the photograph by applying the
Unsharp Mask filter.
Nl filter
191
The filter is designed to remove noises, spots and to enhance sharpness on the whole
image rather than the selected area. It operates in three modes where each processes a
pixel depending on its value and the values of adjacent pixels. The filter makes seven
choices by the values of the hexagon edges surrounding the pixel. The size of the
hexagon is described by the Radius parameter.
1. Open an image;
2. Select FiltersEnhanceNL filter command. Once the NL filter dialog box
opens, set the parameters
Select the operating mode of the filter in the Filter group-box control:
Alpha trimmed mean – the hexagon centre value is replaced by the mean of
the 7 hexagon values. All the values are first of all sorted by alfa; then, the
top and bottom values are excluded from the mean. To improve the visual
effect, use the slider of the Alpha scale to set the value to 0.0 and the slider
of the Radius scale to set the value to 1.0;
Optimal estimation – the filter performs the smoothing over the image. The
Radius parameter specifies the area of filter effect. In this case the optimal
radial values range from 0.8 to 1.0;
Edge enhancement – enhance edges by performing an action opposite to
smoothing. The Alpha parameter describes the intensity; if it equals to 0.1,
the effect is barely visible; if it is set to 0.9, the effect is very sharp. The
Radius parameter is used to specify the area of filter effect.
Sharpen
This filter is designed to enhance the sharpness of a full image without distinguishing
any areas or contours.
This filter does not only remove this effect but also provides the opportunity to change
eye colour.
1. Open an image;
2. Select FiltersEnhanceRed Eye Removal command. It opens the Red Eye
Removal dialog box with the sole parameter
Note!
It is advisable to select an eye before applying the filter because in such a case the filter
will only be applied to the selected area rather than a full image.
TASK. Open image eye_1.jpg and change the eye colour to green.
1. Open image eye_1.jpg;
2. Select Zoom Tool and double or triple click the mouse cursor on the image
in the main program window to enlarge an eye to make its editing simpler;
3. Choose Free Select Tool . Select the exterior side of the iris
GIMP 194
4. Remove the pupil from the selected area. Go to Free Select Tool and press the
Subtract from the current selection button in the Mode settings and then
select the pupil;
Note!
The filter may also be applied without selecting the pupil. In such a case the filter will be
applied to a full image. The filter effect on the image is illustrated in the image
DISTORT FILTERS
It is a group of filters that distort the image in a variety of ways. The group includes a
number of commonly used filters. See the table below for short descriptions of the
filters in this group:
Emboss Give the "embossing" effect to the image or its part where
the light parts are lifted upwards and the dark parts are
lowered. The filter is only applied to RGB images. It is not
active (not available) for grey images
Erase Every Other Row Erase every second row or every second column
Newsprint The filter halftones the pixels in the image, thus creating
the newsprint effect
Shift Shift the pixels of the active layer in each row at a random
distance horizontally or vertically
Polar Coordinates Displace the image to polar coordinates and vice versa
Whirl and Pinch Distort the image concentrically. It is possible to select the
operating mode - whirl or pinch. In the former case the
distortion resembles a tiny hole, like in water escaping
from the sink. In the latter case the distortion resembles a
stretched rubber mat
197
Filter name Short description
Let's analyse the application of several most popular filters in this group.
Pagecurl
Use the slider of the Opacity scale to make the curled area of the page
transparent.
Once the parameters are set, press OK.
Note!
The layers dialog is supplemented with a new layer and a part of the image is deleted
from the Background layer.
TASK. Open image fil_7.jpg. Apply the Motion Blur filter to the image by setting the
following parameters:
a)
Curl Location – at the upper right;
Curl Orientation – vertical;
Check the Shadow under Curl checkbox;
The curled corner is coloured by Foreground/background colors
Opacity – 100;
b)
Curl Location – at the bottom right;
Curl Orientation – horizontal;
Uncheck the Shadow under Curl checkbox;
Colour the curled corner by the gradient Greens;
199
Opacity – 100;
c)
Curl Location – at the bottom right;
Curl Orientation – horizontal;
Check the Shadow under Curl checkbox;
Colour the curled corner by the gradient Greens;
Opacity – 45;
A.
B.
C.
Blinds
1. Open an image.
2. Apply Filters DistortsBlinds command. It opens the Blinds dialog box.
201
TASK. Open image fil_3.jpg. Apply the Blinds filter to the image by setting the
following parameters:
a)
Orientation – Horizontal;
Displacement – 30;
Number of segments – 5.
b)
Orientation – Vertical;
Displacement – 30;
Number of segments – 5.
A.
B.
Note!
When the same filter is applied twice, the image looks like viewed from behind the bars.
203
Wind
1. Open an image.
2. Apply Filters DistortsWind command. It opens the Wind dialog box
a)
Style – Wind;
Direction – Left;
Edge Affected – Leading
Threshold – 10;
Strength – 20;
b)
Style – Wind;
Direction – Left;
Edge Affected – Both;
Threshold – 10;
Strength – 20;
c)
Style – Wind;
Direction – Left;
Edge Affected – Trailing;
Threshold – 10;
Strength – 20;
d)
Style – Blast;
Direction – Right;
Edge Affected – Both;
Threshold – 5;
Strength – 20;
A.
B.
C.
D.
Waves
This filter gives the wave effect. The image is placed in the water and topped by
concentric waves.
207
How to use this filter?
1. Open an image.
2. Apply Filters DistortsWave command. It opens the Waves dialog box
TASK. Open image fil_8.jpg. Apply the Wind filter to the image by setting the following
parameters:
a)
Mode – Smear;
Uncheck the Reflective checkbox;
Use the slider of the Amplitude scale to set the value to 12.00;
Use the slider of the Phase scale to set the value to 72.00;
GIMP 208
Use the slider of the Wavelength scale to set the value to 1.70;
b)
Mode – Smear;
Check the Reflective checkbox;
Use the slider of the Amplitude scale to set the value to 5.00;
Use the slider of the Phase scale to set the value to 72.00;
Use the slider of the Wavelength scale to set the value to 1.70;
A.
B.
Curve bend
The preview window at the upper left of the dialog box displays all the changes made by
the filter to the image, a special curve on the right distorts the image.
GIMP 210
Before moving to parameters, check the Automatic preview checkbox. Once you make
any change, its effect will be seen in the preview window; otherwise, you will have to
press Preview Once after each change.
Click the left mouse button to create additional nodes on the curve; by changing their
position the image changes as well.
TASK. Open image fil_8.jpg. Apply the Curve Bend filter by setting the following
parameters:
a)
Options :
Rotate – 30;
Check the Smoothing checkbox;
Curve for Border – Upper;
Curve Type – Smooth;
b) Set the following parameters to the distorted image (according to the parameters
under option a)):
Options :
Rotate – 0;
Uncheck the Smoothing checkbox;
Curve for Border – Lower;
Curve Type – Free;
A.
4. Press OK
B.
5. Apply Filters DistortsCurve bend command. It opens the Curve Bend dialog
box;
6. Set the following parameters:
Options :
Rotate – 0;
Uncheck the Smoothing checkbox;
Curve for Border:
Check the Lower radio button.
Curve Type:
Check the Free radio button; It creates a curve that will be applied in
distorting the upper border of the image
GIMP 212
7. Press OK
Note!
This filter is most commonly used for changing the text form.
Group I – light effects group. Render various illumination effects. This group consists of:
Lighting effects
This filter imitates the lighting of the image in one or another way.
1. Open an image.
2. Choose Filters Light and ShadowLighting Effects command. Once the
Lighting Effects dialog box opens, set the main parameters and use four tabs to
set other parameters
3. First of all, set the light source. Use the blue dot in the preview window. Set the
light source by moving the dot from one place to another by the mouse;
4. Use the slider of the Distance scale to set the height of the light source and its
distance to the image;
5. Tabs:
Light:
Note!
The latter two parameters are not always active because they depend on the type of
light source. For instance, if the Point type is chosen, it is not possible to set the
direction of the light source as it illuminates the entire image.
Gradient flare
Open an image.
Choose Filters Light and ShadowLighting Gradient Flare command. It
opens the Gradient Flare dialog box which contains two tabs for setting the
parameters Settings and Selector
Lens flare
Specify the location of the glare/reflection in the image. You can set this
parameter in two ways:
o set precise X and Y parameters of glare centre;
o click the mouse cursor in the location of the preview window where
you want to locate the flare;
Press OK.
Note!
If you need a different flare shape or intensity, use the Gradient Flare filter.
Supernova
1. Open an image.
2. Choose Filters Light and ShadowSupernova command. Once the
Supernova dialog box opens, set the main parameters
217
Center of Nova – choose the location of the star in the image; You can also set
its location manually, i.e. by dragging the star to the desired location in the
preview window by the mouse.
Color – select the star colour;
Use the slider of the Radius scale to set the size of the star;
Use the slider of the Spokes scale to select the number of rays;
Use the slider of the Random hue scale to select a random colour to the star and
its rays.
TASK. Open image sup_1.jpg and add a shining star to the image.
1. Open the image.
2. Choose Filters Light and ShadowSupernova command. Once the
Supernova dialog box opens, set the main parameters:
Manually select the location of the star in the preview window – the upper right
corner;
Color – yellow (HTML notation – ffff7f);
Radius – 85;
Spokes – 195;
Random hue - 256
GIMP 218
Sparkle
The filter makes the light points sparkling, thus making the image more dynamic.
;
If the Background color radio button is checked, the sparkle can acquire the
Drop shadow
The filter adds a shadow effect to an object. It is most commonly applied to give a more
three dimensional appearance to the silhouette. The filter effect is best seen when
working with a text. We will analyse several examples to clarify on the application of the
filter.
2. By means of Text Tool use large font to enter six words on different
layers: Riga, BDA, Panevezys, KTU PI, Talllin, Koolitus. Textual parameters:
Font – Sans Bold;
Size – 72 px;
3. Choose Filters Light and ShadowDrop Shadow command. Once the Script-
Fu: Drop Shadow) dialog box opens, set different parameters to each word:
Note!
221
To apply the filter to a word, make the word layer active, i.e. select the desired layer in
the layers dialog.
a) parameters: b) parameters:
Offset X – 15; Offset X – 5;
Offset Y – 5; Offset Y – 15;
Blur radius – 15; Blur radius – 15;
Color – c040c0 (HTML notation); Color – c040c0 (HTML notation);
Opacity – 80 Opacity – 80
c) parameters: d) parameters:
Offset X – 8; Offset X – 8;
Offset Y – 8; Offset Y – 8;
Blur radius – 5; Blur radius – 20;
Color – 72b4dc (HTML notation); Color – 72b4dc (HTML notation);
Opacity – 80 Opacity – 80
e) parameters: f) parameters:
Offset X – 8; Offset X – 8;
Offset Y – 8; Offset Y – 8;
GIMP 222
Blur radius – 5; Blur radius – 5;
Color – 72b44c (HTML notation); Color – 72b44c (HTML notation);
Opacity – 20 Opacity – 90
4. Press OK.
Noise filters
It is a group of filters that "distort" the image by adding speckles or otherwise smearing
it.
Hsv noise
The filter covers the image with various pixels that are selected by hue, saturation,
sharpness.
1. Open an image;
2. Choose FiltersNoiseHSV Noise command. Once the HSV Noise dialog box
opens, set the following parameters:
The slider of the Holdness scale controls how much the new pixel color is
allowed to change when affected by the filter. The higher the value, the milder
the filter effect is; the pixels covering the image are not that sharp and
contrasting. The lower the value, the larger the filter effect to the image that
becomes multi-coloured;
The slider of the Hue scale controls the values responsible for the range of hues
of the pixels added to the image. The higher the value, the more colours are
used;
The Saturation scale is responsible for the saturation of pixels scattered in the
image. The lower the value, the closer the pixel colour to black-and-white is. The
higher the value, the more saturated and multi-coloured the pixels are;
223
The slider of the Value scale increases or reduces the brightness of pixels. When
the value is set high, the brightest pixels cover the image.
3. Once all parameters are set, press OK.
Pick
The filter covers the image by randomly chosen pixels. The majority of the filters of this
group include the opportunity to choose the colour, brightness, saturation and hue of
the scattered pixels. In this filter no pixel parameters can be set, therefore, the image is
covered by random pixels. We may only select their amount.
1. Open an image;
2. Choose FiltersNoisePick command. Once the Random Pick dialog box
opens, set the following parameters
Use the slider of the Randomization scale to select the amount of pixels
scattered in the image;
GIMP 224
The slider of the Repeat scale represents the number of times the filter will be
applied. If the value is set really high, there will be no image, we will only see
randomly scattered pixels;
3. Once the parameters are set, press OK.
Rgb noise
This filter adds colourful pixels to the image or its selected area.
1. Open an image;
2. Choose FiltersNoiseRGB Noise command. Once the RGB Noise dialog box
opens, set the following parameters
225
If checked, the Independent RGB checkbox specifies that each of the below
colours may be set to a different value. When the parameter is unchecked, the
sliders of all scales will move synchronically and all pixels will either be grey or
black due to the mixture of colours.
The sliders of Red, Green, Blue scales set values that show the intensity of these
colours.
3. Once the parameters are set, press OK
Spread
The filter scatters the pixels in the image – by randomly replacing them, the borders
become obscure and colours get mixed.
1. Open an image;
2. Choose FiltersNoiseSpread command. Once the Spread dialog box opens,
set the following parameters:
GIMP 226
Spread Amount group-box control sets the strength of filter effect. By increasing
the spread distance along the horizontal and vertical axis, we can spread the
pixels at a far distance;
3. Once the parameters are set, press OK;
Note!
The spread distance along the horizontal and vertical axis is interconnected; it is shown
by an uninterrupted chain . To spread the pixels along the horizontal and vertical axis
unevenly, we have to break the chain, i.e. press button; when the chain is broken
enter the required values to the boxes: Horizontal and Vertical.
a) original image b) spread distance along the b) spread distance along the
horizontal and vertical axis is the horizontal axis (20) and vertical
same (65) axis (85) is not the same
Slur
The filter effect makes the image look like placed on a melting ice plate as certain pixels
in the image move downwards and are replaced by the pixels directly above them.
Randomization (%) – specify the amount of pixels which will be affected by the
filter. The higher the value, the larger area of the image gets slurred;
Repeat – select the strength of filter effect, i.e. the number of times the filter
will be applied;
3. Once all parameters are set, press OK;
TASK. Open image nova.jpg and apply the Slur filter with the following parameters:
Randomization (%) – 84;
Repeat – 100;
Edge-detect filters
GIMP 228
The filters of this group search for borders between different colours and so can detect
contours of objects. The filter is most commonly used to make selections. It is first of all
advisable to apply the blur filter which flattens small ripples before using the filter of this
group.
a) the Difference of Gaussians filter is applied. b) the Difference of Gaussians filter is applied.
Invert checkbox is checked; Invert checkbox is unchecked
Generic filters
It is a group of filters that do not belong to any other group. Convolution Matrix is the
most powerful filter in this group that allows to build custom filters by changing the
matrix values. Since all filters use the convolution matrix, we will create a custom filter
by entering our values.
Enter values to the matrix boxes. The below-listed matrix values create certain effects.
ARTISTIC FILTERS
These filters imitate various styles and methods of painting. We may create the effects
of comics, oil painting, canvas instead of paper.
Oilify
1. Open an image.
2. Apply Filters ArtisticOilify command. Once the Oilify dialog box opens, set
the two main parameters:
GIMP 230
Use the slider of the Mask size scale to select the size of the brush mask. Higher
values produce an oilier render. If a neat work is required, a brushstroke must
be small;
The slider of the Exponent scale controls the clarity of painting. The higher the
value, the clearer the painting; if the value is set low, the painting is blurred,
obscure;
3. Press OK.
TASK. Open image oil_1.jpg and apply the Oilify filter with various parameters:
a)
Mask size – 8;
Exponent – 8;
b)
b)
c)
Weave
The filter places the image on the woven surface, as if on the woven basket.
1. Open an image.
2. Apply Filters ArtisticWeave command. Once the Script-Fu: Weave dialog
box opens, set the following parameters
With Ribbon width and Ribbon spacing options you can set the view of the
woven ribbon and the distance to the neighbouring ribbon;
With Shadow darkness and Shadow depth options you can set the exterior
weave surface;
Thread length, Thread density and Thread intensity options set the exterior
weave view;
3. Once all parameters are set, press OK.
233
TASK. Open image can_1.jpg and apply the Weave filter with various parameters:
a) b)
b)
c)
Cubism
This filter modifies the image so that it appears to be constructed of various small cubes.
1. Open an image.
2. Apply Filters ArtisticCubism command. Once the Script-Fu: Weave dialog
box opens, set the following two parameters:
The slider of the Tile size scale determines the value describing the size of the
cubes. When the value is set higher, the cubes get bigger, and the image
becomes rough, barely detailed. When the value is set lower, the cubes get
smaller, the image becomes clearer but the effect on the image is not
significant;
The slider of the Tile saturation scale controls the value determining the
number of the cubes. The higher the number, the more saturated the image is;
GIMP 236
3. Press OK;
TASK. Open image kub_1.jpg and apply the Cubism filter with the following
parameters:
a) b)
b)
c)
Apply canvas
1. Open an image.
2. Apply Filters ArtisticApply Canvas command. Once the Softglow dialog box
opens, set the following parameters
GIMP 238
TASK. Open image can_1.jpg and apply the filter with the following parameters:
a)
Direction – Top-right;
Depth – 20;
b)
Direction –Bottom-left;
Depth – 30;
a)
b)
Softglow
The filter renders a soft glow effect to the image. The glow may differ in brightness and
intensity.
1. Open an image.
2. Apply Filters ArtisticSoftglow command. Once the Softglow dialog box
opens, set the following three parameters
GIMP 240
The slider of the Glow radius scale sets the value that specifies the size of glow.
The higher the value, the larger the glow. The larger the glow in the image, the
more blurred the image seems and the better the effect is;
The slider of the Brightness scale sets the value that controls the brightness of
the glow. The higher the value, the larger the glow;
The slider of the Sharpness scale specifies the value that controls the sharpness
and clearness of the glow. The higher the value, the clearer and sharper the
glow is. When the value is set low, the glow effect disappears;
3. Press OK.
TASK. Open image soft_2.jpg and apply the Softglow filter with various parameters:
a)
b)
Note!
The more colours of bright hue in the image, the larger the glow effect.
Decor filters
The filters of this group create decorative borders and add some nice special effects. The
image may be framed, its corners may be rounded, etc.
Round corners
GIMP 242
The filter rounds the corners of the image, though it remains rectangular because any
raster image may be rectangular-shaped. Nevertheless, visually we will see round-
shaped corners.
1. Open an image.
2. Choose FiltersDecorRound Corners command. Once the Script-Fu: Round
Corners dialog box opens, set the following parameters
Edge radius – set the level of rounding the corner. The higher the value, the
larger the rounding;
If checked, the Add drop-shadow checkbox adds a shadow to the image;
Shadow X offset – specify the size of the shadow according the horizontal axis at
the bottom of the image;
Shadow Y offset – specify the size of the shadow according the vertical axis on
the right of the image;
Blur radius – the higher the value, the larger the dropping shadow;
If checked, the Add background checkbox adds a background layer behind the
round corners of such a colour which is set as a background colour; though the
corners are rounded, the image remains rectangular-shaped;
If checked, the Work on copy checkbox specifies that the filter is applied to the
copy of the image and a new file is created after the filter is applied;
3. Once all parameters are set, press OK;
TASK. Apply the Round corners filter to image bor_1.jpg that would round image
corners, where the edge radius equals to 160 and drops the shadow equal to 80 the
size of which according to the horizontal and vertical axis equals to 50 and a yellow
background would be seen behind the round corners. The image to which the filter is
applied has to be placed in a separate file.
In the Toolbox press the bottom square and change the background
Coffee stain
The filter adds realistic looking coffee stains of any size and at any place in the image.
1. Open an image.
2. Choose FiltersDecorCoffee Stain command. Once the Script-Fu: Coffee
Stain dialog box opens, set the sole parameter
Use the slider of the Stains scale to select the number of stains. The stains
appear at any place of the image and their size is random.
Note!
GIMP 244
1. The stain location can be changed. Click the mouse cursor on the edge of the stain in
the image in such a way that a solid frame would appear around it and move the stain to
the desired location without unclicking the left mouse button. At the time of moving the
stain the mouse cursor changes its form.
2. When checked, the Darken only checkbox gives darker stains.
3. The number of stains ranges from 1 to 10.
TASK. Open image stain_1.jpg and apply the COFFEE STAIN filter to it by selecting the
presence of 4 stains in the image after the filter is applied. Change the location of any
stain. Uncheck the Darken only checkbox.
Fuzzy border
245
The filter adds a fuzzy, blurred and uneven border to the image.
1. Open an image.
2. Choose FiltersDecorFuzzy Border command. Once the Script-Fu: Fuzzy
Border dialog box opens set the following parameters
Note!
When the filter is applied, each operation takes place on a different layer. A number of
layers appear in the layers dialog after the filter is applied.
TASK. Apply the Fuzzy border filter to image bor_1.jpg. The border delineating the
image must be white with a sharp shadow, size 50, blurred with the image; granularity
– 20. Merge down any emerging layers. Place the image to a separate file once the
filter is applied.
Add border
1. Open an image.
2. Choose FiltersDecorAdd Border command. Once the Script-Fu: Add Border
dialog box opens, set the following parameters
Border X size – set the thickness of the horizontal part of the border;
Border Y size – set the thickness of the vertical part of the border;
Border color – set the border colour;
247
Delta value on color – make the border seem raised; the higher the value, the
more raised the border appears;
3. Once all parameters are set, press OK;
b)
Old photo
The filter makes the image look like a very old photo.
1. Open an image.
2. Choose FiltersDecorOld Photo command. Once the Script-Fu: Old Photo
dialog box opens, set the following parameters
If checked, the Defocus checkbox makes the image more blurred and less clear;
Border size – set the size of a light border framing the image;
If checked, the Sepia checkbox applies the hues of brown apparent in the aging
old photographs rather than black-and-white;
If checked, the Mottle checkbox specifies that the image must be marked with
mottles;
249
If checked, the Work on copy checkbox specifies that the filter is applied to the
copy of the image and a new file is created after the filter is applied;
3. Once the parameters are set, press OK;
TASK. Open image old_1.jpg and apply the Old photo filter with the following
parameters:
Check the Defocus checkbox;
Set Border size to 180;
Apply brown hues to the image;
The image must not contain any stains;
After the filter is applied, the image must appear in a new file;
1. Open an image.
2. Choose FiltersDecorSlide command. Once the Script-Fu: Slide dialog box
opens set the following parameters
Text – enter a text that will be displayed at the top of the slide;
Number – enter the slide number;
Font – click on the Serif bottom and choose the desired font in the
opened Script-Fu Selection font dialog, press Close;
Note!
If checked, the Work on copy checkbox creates a new file without a name which
features the image in a slide. If unchecked, the image is placed in a slide in the same file.
TASK. Open image kil_1.jpg and apply the Slide filter with the following parameters:
Text – Kilimanjaro;
Number – 1;
Font – Liberaton Sans Bold;
251
Font color – yellow (HTML notation –ffa00 );
Uncheck the Work on copy checkbox;
Map filters
The filters of this group use a special object to modify the image. By using this filter, we
map the image to the object. We can even create a 3D image by mapping the image to
another embossed image. The group includes the following filters:
20
Derives from a Latin word frachtus (meaning fractured). A fractal is a complex geometric shape
that can be split into fragments, each of which is similar or identical to the whole or other
fragments. The key common property of fractals is their self-similarity, i.e. an enlarged small part
of a geometrical shape seems identical to the larger part. (lt.wikipedia.org/wiki/Fraktalas)
GIMP 252
Filter name Designation
Make Seamless By creating seamless edges, the filter makes the image look
seamless
Render filters
This group of filters differs from others as it does not change the image but creates a
new image or adds new elements to the image. Certain filters in this group (Clouds),
(Nature), (Pattern) have their own filter groups.
Clouds filters
Plasma
The filter creates a colourful abstract image that is added on the full active layer or its
selected part.
The Random seed parameter affects the plasma texture, i.e. its exterior view;
By pressing the New Seed button the program selects a random number
attributed by Random seed, and thus changes the plasma texture;
Note!
You can select the Random seed parameter manually.
GIMP 254
The slider of the Turbulence scale controls the value responsible for plasma
brightness, saturation, contrast and image structure. Higher values make the
said properties more apparent, lower values make the effect milder, plasma
becomes similar to colourful smoke clouds;
If the Randomize checkbox is checked , the former two properties become
inactive, and the plasma structure is selected at random;
Note!
Once the parameter is changed, its effect is seen in the preview window of the dialog
box.
TASK. Open image nova.jpg and apply the Plasma filter to the sky, by choosing the
Random seed parameter at random and setting the plasma brightness, saturation,
contrast and image structure to value 3.9.
Pattern filters
Jigsaw
The filter divides the image into certain fragments that resemble a jigsaw puzzle.
1. Open an image;
2. Apply FiltersRenderPatternJigsaw command. Once the Script-Fu: Jigsaw)
dialog box opens, set the parameters
255
The Number of Titles group-box control controls the number of tiles horizontally
and vertically:
o The slider of the Horizontal scale controls the number of tiles on
the horizontal axis;
o The slider of the Vertical scale controls the number of tiles on
the vertical axis;
Note!
The higher the number of tiles, the smaller they are, because the size of the image does
not increase.
The Bevel Edges group-box control controls the configuration of jigsaw pieces,
i.e. the piece texture:
o The Bevel width parameter controls the slope of the edges of
the puzzle pieces. When the minimum value is set, the pieces
seem as if drawn by a pencil and do not feature any slope of the
edges;
o The Highlight parameter controls the strength of the highlight
that will appear on the edges of each piece;
The Jigsaw Style group-box control controls the shape of pieces:
o If checked, the Square radio button shows that the pieces will
be square-shaped;
o If checked, the Curved radio button shows that the pieces will
be irregular-shaped;
3. Once all parameters are set, press OK;
TASK. Open image puzzle.jpg and divide it to 30 irregular-shaped sloped pieces with
highlighted edges.
Grid
The filter divides the image to squares. The filter is useful when printing the image or
transferring it on a different surface layer in parts.
1. Open an image;
2. Apply FiltersRenderPatternGrid command. Once the Script-Fu: Grid
dialog box opens, set the parameters
257
The Width parameter sets the width of grid line. Once the width of the
Horizontal grid line is set move to the Vertical box that shows the same value as
set in the Horizontal box if there is a link between boxes, i.e. if the chain is not
broken . In case different values are required, press
to get . Now you can enter different values to
both boxes;
Note!
By pressing , a list opens where you can choose the measurement units for
the width of a grid line, spacing between lines, and the offset.
The Spacing parameter sets the spacing between grid lines. The higher the
value, the larger the squares;
The Offset parameter sets the distance of moving the grid to the sides or to the
upper part;
You can choose the grid colour by pressing and selecting the desired
colour in the colour dialog. You may choose different colors for vertical and
horizontal grid lines, you only have to break the chain;
Note!
The colour and shape of the intersections between grid lines can only be set when their
width is higher than zero and the distance is equal to zero.
TASK. Open image grid_2.jpg and apply the Grid filter. After using the filter, a red grid
must be applied to the image with the line width equal to 6 mm, spacing between
GIMP 258
lines equal to 145 mm, black 10 mm width intersections between grid lines with 10
mm offset.
LAVA
259
The filter covers all layers or the selected area of the image with a special ornament
resembling of the boiling lava. Usually, the area of the image is selected and the filter is
applied to it; otherwise, the ornament covers a full image.
1. Open an image;
2. Select the area of the image if you want to apply the filter to the selected part
only;
3. Apply FiltersRenderLava command. Once the Script-Fu: Lava dialog box
opens set the parameters
Seed – this parameter does not have any effect on the external lava ornament
but allows to change it. Let's say that we have created a lava ornament and
want to create a new one. We now have to change the value and to use the
filter again;
Size – set the number of curls in the image;
The slider of the Roughness scale controls the value that is responsible for the
shape of the lines of the lava ornament. The higher the value, the rougher and
more irregular the lines are;
Gradient – select the colours the mixture of which produces a lava ornament. By
default, black, red and yellow colours are mixed. Once you press , it
opens the Script-Fu Gradient Selection dialog box, then choose the desired
gradient from the gradient selector
GIMP 260
If checked, the Keep selection checkbox specifies that when the filter is applied
to the selected area, it must remain selected because otherwise the selection
disappears;
If checked, the Separate layer checkbox specifies that the filter is applied to a
separate layer;
If checked, the Use current gradient checkbox specifies that the same gradient
will be used for a lava ornament as set for Blend Tool;
4. Once all parameters are set, press OK;
TASK. Open image lava1.jpg and apply the filter to craters (1, 2, 3) where the Seed
parameter =1, the size of ornament curls equals to 10, the lines of ornament curls are
not rough (4), three colours are mixed to picture lava – black, red and yellow; once the
filter is applied, the image is placed on a separate layer, and the selection of the
selected areas disappears.
2. In the Toolbox bar press Zoom Tool and double click the mouse cursor on
the image to enlarge it for a more convenient selection of craters;
3. In the Toolbox bar press Free Select Tool . Select the first crater;
4. Press the Shift key on the keyboard and hold it down while selecting the second
crater (the Shift key performs the additional action, i.e. it adds the second
selection to the first selection). Press Shift again and start selecting the third
crater; tree branches apparent in certain places must remain. Divide the
selection, i.e. select each part by holding down the Shift key;
261
Line nova
The filter creates a lot of rays emanating outward from the centre. It resembles a large
shining star. The filter is applied to a full image.
GIMP 262
How to use this filter?
1. Open an image;
2. Apply FiltersRenderLine Nova command. Once the Script-Fu: Line Nova
dialog box opens set the parameters
TASK. Open image nova.jpg and apply the Line nova filter to it, where the number of
lines equals to 100, sharpness – 0.7, offset radius – 300, randomness value – 1.
Circuit
1. Open an image;
2. Apply FiltersRenderCircuit command. Once the Script-Fu: Circuit dialog box
opens, set the parameters
Oilify mask size – with this option you can set the value that determines the
width of the pattern line and its curvedness;
a) Oilify mask size – 3; b) Oilify mask size – 12; c) Oilify mask size – 24; d) Oilify mask size – 36;
Circuit seed – 3; Circuit seed – 3; Circuit seed – 3; Circuit seed – 3;
Circuit seed – the specified value affects the exterior view of the pattern but it
has no affect on other characteristics;
GIMP 264
a) ) Oilify mask size – 3; b) ) Oilify mask size – 3; c) ) Oilify mask size – 3; d) ) Oilify mask size – 3;
Circuit seed – 3; Circuit seed – 12; Circuit seed – 24; Circuit seed – 36;
See previous chapters for other parameters;
3. Press OK;
ANIMATION
Animation21 is the rapid display of 2-D or 3-D artwork or model positions in order to
create an illusion of movement.
Let’s say you want to paint a bouncing ball. At first you draw a ball in the initial position
when it is on the ground, then the same ball above the ground, then a little bit higher
above the ground and finally the ball falling down. If you look at the frames quickly and
in series, you will see a bouncing ball.
To make sure that a human eye sees movement when looking at frames, the speed of
changing frames should be 18 frames per second. In modern films and cartoons, frames
change at the speed of 24 frames per second.
1. Open a new working window using the command FileNew. A new dialog
Create a New Image opens, but do not change anything in it;
2. Press OK;
3. Select the Ellipse Select Tool and paint a circle in the working window;
21
Latin word "animare" means "to give life to".
265
5. Choose a fill colour. Click on the Foreground color and in a new dialog
Change Foreground Color select a colour ffff9b (in HTML notation).
7. Now, paint eyes in a different layer. To open a new layer, use the command
LayerNew Layer. A New Layer dialog opens;
8. Name the layer by entering Eye in the Layer name input box;
9. Press OK;
10. Select the Ellipse Select Tool and paint a small ellipse in the yellow circle
– it will be an eye;
12. Choose a fill colour. Click on the Foreground color and select the black
colour in the Change Foreground Color dialog;
13. Fill the eye with the selected colour;
14. Copy the eye to a buffer using a CTRL+C combination;
15. Paste the eye through CTRL+V.
Note!
When you use the Paste command, the second eye is placed on the top of the first one.
You have therefore to move it to the place you need.
16. Select the Move Tool and clicking on the eye move it to the place you
need.
Note!
In the Layers dialog a Floating Selection (Pasted Layer) appears. Anchor it to the Eye
layer.
20. Choose the paintbrush colour. Click on the Foreground color and in a
new dialog Change Foreground Color select a brownish colour (HTML notation
– d39c59);
21. Paint a nose;
22. Now, paint eyebrows. To open a new layer, use the command LayerNew
Layer. A New Layer dialog opens. Name the layer by entering Brow in the Layer
name input box. Press OK;
23. Paint eyebrows using the Paintbrush;
267
24. Paint a mouth. To open a new layer, use the command LayerNew Layer. A
New Layer dialog opens. Name the layer by entering Mouth in the Layer name
input box. Press OK;
25. Paint a mouth using the Paintbrush.
Every frame consists of operations performed in one layer. In the Layers dialog you can
see all layers that you have created:
Saving animation
You should save the animation in two formats: GIMP and GIF. The first format is needed
for editing. You already know how to save in this format. Now, try to save a file in a GIF
format.
Please pay attention that the file size is 6.8 KB, i.e. it is small, but the animation is not
long, too. When you create a high-quality animation and banners, the file size may be 70
or more kilobytes. Sometimes such size is not convenient. If so, you can optimise a GIF
file. When optimisation is in operation, you can view all layers and find all points that
changed compared to the previous layer. Layers are cut leaving only the points that
were changed. In this way, optimisation reduces the file size two or three times.
Note!
You can unoptimise the file that was optimised. For this purpose, use the
FiltersAnimationUnoptimize command.
Practice
We will now discuss how to work with image color models, how to make
transformations, how to change its measurements, direction, resolution and other
important settings which allow you to prepare the very basis of the image, i.e. the place
where the image is drawn or edited.
Color models
The menu entry Image includes all the main commands for working with the image. We
will first analyse the Mode entry; click on it to open a drop-down list of commands
allowing you to work with color models:
271
RGB
RGB is the default color model which is most popular among the editors of raster
objects. Colors are preserved when editing the same object by several editors.
Grayscale
The model is best for editing old photos and creating old-photo type images or black-
and-white images. Open the image and select ImageModeGrayscale to make the
image grayscale.
When editing the image, you cannot use other colors but grey hues. If you select green
for the Pencil tool , you will paint in light grey in the image.
Note!
When you return to RGB mode, you will not restore colors because the information on
the color for each pixel is lost. You may select colors for tools and use them to
supplement the image as well as to apply filters.
Indexed
This mode lets you set hues and the amount of colors mixed in the image independently.
Select ImageModeIndexed command to open the dialog
GIMP 272
Select one of the given palettes from the Colormap group-box control:
Generate optimum palette – lets you generate RGB color model, by setting the
maximum applicable number of colors. The maximum number is 256; however,
by reducing it, we also reduce the number of hues in the image:
There is an icon next to the title of the color palette which shows the colors in
use. When you choose one or another palette, the image limits with those
colors.
273
By means of the color model selection command (Mode), you can freely adjust the color
model for the image by choosing the available variants (RGB, Grayscale) or setting
custom variants (Indexed).
Transformation
You can find all commands that let you rotate the image to the desired angle and flip it
along the horizontal or vertical axis under the menu entry Transform. Click on it to open
the list of commands:
Flip
The first two commands (Flip Horizontally), (Flip Vertically) duplicate the Flip Tool
actions, as if creating a mirror reflection of the image along the horizontal and vertical
axis. However, the commands differ from the tool actions by their availability for all
image layers. The tool can only be applied to an active layer.
Rotate
This operation consists of three commands: Rotate 900 clockwise; Rotate 900 counter-
clockwise; Rotate 1800. It immediately reminds of the Rotate Tool , however, this
tool only applies to an active layer. The value of these commands reveals when you
need to rotate an image or a picture which is scanned out of alignment.
Guillotine
The Guillotine option lets you slice the image into pieces along the specified guides.
GIMP 274
Canvas size
When you open any image or photo and apply ImageCanvas Size command, it opens
the Set Image Canvas Size dialog where you have to adjust the settings of three groups:
The Canvas Size group-box control controls the canvas size. The Width and
Height values are inter-connected, i.e. when one value is changed, the other
changes as well. Once they are disconnected, each value can be changed
irrespective of the other. The pixels button opens the list of measurement units.
When the values of Width and Height are increased, you can observe how the
image changes its position in the working window; it can best be seen in the
preview window:
The Offset group-box control allows you to set the location of the image in
respect of the working window. Use the X and Y values to set the position of the
image along the horizontal and vertical axis. The Center button lets you position
the image in the centre of the working window;
Note!
275
If the working window (canvas) is smaller than the image, the preview window will
feature a frame within the image which shows the canvas size and the visible area of the
image.
In the Layers group-box control you can choose the target of the command:
Image size
The Image Scale image command lets you change the size of canvas and the image
and the resolution of the image at a time. The command opens the Scale Image dialog
where the following settings must be adjusted:
o You can use the X resolution and Y resolution options to change the
image resolution, i.e. the number of pixels per area unit. The higher the
values, the brighter the image. The standard value is 72 pixels per
square inch. You should set the value to 300 pixels / inch for image
printing.
Print size
The ImagePrint Size command allows you to set the size and resolution of the image
for printing. The settings adjusted do not affect the active image, i.e. editing does not
GIMP 276
change the image. However, when the image is set for printing, it is sent with new
settings.
We often have to work with large images and photos to be printed by means of plotters
or special printing devices, and such images are difficult to edit because they take a lot
of memory. In such cases it is advisable to work with a reduced variant, and when you
need to print it – adjust the required settings. It is a time-saving method.
Apply the command to open the Set Image Print Resolution dialog where you can adjust
the settings which change the width, height and resolution of the image for printing:
Note:
The settings adjusted only affect the image for printing, not the edited image.
Guides
Guides are auxiliary lines which are placed on the image for the following reasons:
orientation in the image;
snapping the cursor to guides (guiding lines);
dividing the image to composite parts.
Once you open the image and select the command, it opens the list of additional
commands:
This option is used when you need to align objects or layers, to arrange them in one line.
It will not be seen when printing because it is only an auxiliary line (guide). It is also used
to snap the cursor to it or to divide the image.
277
Apply ImageGuidesNew Guide (by Percent)) command to open the Script-Fu: New
Guide (by Percent) dialog:
When you open the Direction list, you may choose the guide direction –
Horizontal or Vertical;
In the Position (in %) input box, enter the number which decides the location of
a guide in terms of width and height of the image. If you set the value to 25, the
horizontal guide (line) will be positioned at a quarter distance from the border
of the image in terms of the image width. If you set the value to 50, the line will
be located in the centre of the image.
Note!
You may apply the command to the image several times, which will result in several
guides. If you use the Pencil Tool or the Paintbrush tools to draw a line on the
guide, the line will be straight.
If you apply ImageGuidesNew Guide (by Percent) command three times, three
vertical guides will appear in the image. if you then apply
ImageTransformGuillotine command, it will divide the image to as many parts as
there are guides. The division results in as many new images as there are guides, and
each of them will be opened in a new working window.
GIMP 278
Note!
Each guide can be dragged to a different location. To do it, you have to select the Move
Tool , position the mouse pointer right on the guide and drag the guide to the
desired location by left-clicking the mouse. At that time the guide becomes red.
New Guide
Select ImageGuidesNew Guide to select the guide location by pixels. Once you
apply the command, it opens the Script-Fu: New Guide dialog where the guide location
is given in pixels (points) from the borders of the image, i.e. the distance of the
horizontal guide from the upper border of the image and the vertical guide – from the
left border:
For instance, when you set the value of the Position option to 100 and Direction to
Horizontal, it adds a horizontal guide to the image which is positioned at a distance of
100 pixels from the upper border of the image.
Another way to create guides is by the area selected in the image. The distances and
directions of guides will be set by selection. For instance, select one bird in the image
Remove guides
Any guide can be removed from the image. Select the Move Tool , press the mouse
pointer on the guide and drag it outside the borders of the image while holding
down the left mouse button. You should bear in mind that the horizontal guide is
dragged up to the upper ruler and the vertical guide is dragged to the left ruler.
You can remove all guides at once by clicking ImageGuidesRemove all Guides.
Note!
You used the Move Tool to remove the guide from the image. The same applies if
you want to drag the guide out of the vertical and horizontal rulers.
Grid
It is a special kind of tool that allows you to split the image into a grid, which often
makes the processes of painting, drawing and editing easier. You can always cancel the
grid.
Open any image and go to ViewShow Grid. The image becomes covered by a fine
grid:
GIMP 280
Go to ImageConfigure Grid which opens the Configure Grid dialog and adjust the
following settings:
select the line style which will appear in the image at once;
o Use the Foreground color option to adjust the color of grid lines;
o The Background color option is active only when Line style – Double
dashed is selected;
The Spacing group-box control – controls the size of the grid squares. The Width
and Height of the square are expressed in two measurement units - pixels and
281
one of the selected units because when you press the in button, it opens a drop-
down list of measurement units:
In the Offset group-box control, you can set the distance of moving the grid in
one or another direction.
Note!
If the grid is visible, all the changes will be seen in the image when you change or select
one or another option.
You can remove the grid from the image by repeating ViewShow Grid command.
Image Properties
You can review the properties of the image file through ImageImage Properties. In
the Image Properties dialog, you can see three tabs – Properties, Color Profile,
Comment:
The first tab Properties shows the main settings of the image.
In the second tab Color Profile, you will find full information on the color model in use.
In the third tab Comment, you may add a comment describing what is in the image or
provide technical characteristics of the image.
TASKS
I. Scale image proportionally.
Note:
If the chain is broken , you can select each setting irrespective of the other.
0 0
a) image rotated 90 counter clockwise b) rotated image (-45 )
Scanning often adds various speckles to the image which can be removed by means of
GIMP tools.
1. Select FileOpen command to open image car.jpg; We will now remove the
defects in the image delineated by a white circle:
283
2. Press Smurge Tool . Remove the speckles by moving the pointer around the
white delineated speckles while holding the left mouse button down:
3. Use the Blur/Sharpen Tool to smooth out the red delineated speckles. Select
Retouching photos
GIMP 284
Old photos often contain folds, tears. When scanning, all defects become more
apparent. They can be removed by GIMP tools, i.e. you can retouch the photo.
Open the folded and torn photo player.jpg. We will try to retouch it using GIMP tools.
1. Apply FileOpen command to open file player.jpg. We will now retouch the places
marked by arrows:
. Zoom a single area that you want to retouch, i.e. click the mouse pointer
several times on the area;
4. Choose the Clone Tool and apply the following settings to it:
4.1. Select the brush size by pressing Brush and choosing Circle (19) from the drop-down
list;
4.2. Select the location in the image the pattern of which will be cloned to the area you
want to retouch. Click the Ctrl key on the keyboard, position the mouse pointer
to that location and left-click the mouse while holding down the Ctrl key;
4.3. Release the Ctrl key and correct the area that you want to retouch by the mouse
pointer;
Note!
4.2. and 4.3. should be repeated until you repair all the damaged areas in the image.
5. After you complete retouching, press the Zoom Tool . Adjust the following
setting to it:
5.1. In the Tool Toggle group-box control, press the Zoom out radio button.
Position the mouse pointer on the image and left-click the mouse several times, i.e.
until the image returns to its original state. The working window shows the image
after retouching:
GIMP 286
6. Apply FileSave As to save the image under the name player1.jpg. Choose the
location and folder in the disk where you want to save the file;
7. Press the Save button.
Pencil sketch
Let's try to turn a color photo into a pencil sketch.
2. Create a copy of the Background layer. In the Layers, Channels, Paths, Undo –
Brushes, Patterns, Gradients dock press the button . It opens a new layer
Background copy;
4. It creates a copy of the Background copy layer; press the button to open a new
layer Background copy#1;
5. Let's now apply the Gaussian Blur filter to the new layer. Apply
FiltersBlurGaussian Blur command to open the Gaussian Blur dialog and adjust
the following settings:
5.1. In the Blur Radius group-box control, set the following:
5.1.1. Horizontal – 4;
5.1.2. Vertical – 4;
5.1.3. Press OK;
287
6. Now invert colors. Apply ColorsInvert command
7. Set the slider of the Opacity scale in the Layers dialog to 50; image contours will
be seen against the grey background;
8. Right-click the mouse on the Background copy#1 layer to open the context
menu and choose the Merge down command. It will merge the two upper
layers;
9. It creates a copy of the Background copy layer; press the button to open a
new layer Background copy#1;
10. Press the Mode button and select Addition from the drop-down list;
11. To make the lines sharper, repeat the following actions several times:
11.1. Right-click the mouse on the Background copy#1 layer to open the context
menu and choose the Merge down command. It will merge the two upper
layers;
11.2. It creates a copy of the Background copy layer; press the button to open a
new layer Background copy#1;
11.3. Press the Mode button and select Multiply from the drop-down list;
12.
13.
2. Go to LayerNew Layer to create a new layer.
2.1. In the New Layer dialog, enter Face to the Layer name box ;
2.2. Press OK;
2.3. In the Layers dialog, open the Mode drop-down list and select Overlay;
3. We will now apply color to faces. Select Paintbrush Tool and adjust the
following settings:
3.1. Open the Mode drop-down list and click Normal;
3.2. Opacity – 100;
3.3. Press the Foreground color button to open the Change Foreground Color dialog
and use the HTML notation box to enter ffb782. Press OK;
4. Press the Zoom Tool and select the Zoom in radio button in the options of the
Tool Toggle group-box control ;
5. Click the mouse pointer on the image several times to enlarge it;
6. Select Paintbrush Tool and use it to apply color to faces and hands:
7. Color the fillets in white. Open a new layer, repeat step 2 and name the layer
Fillet;
8. Select the Paintbrush Tool and adjust the following settings:
8.1. Open the Mode drop-down list and click Normal;
8.2. Opacity – 48;
9. Foreground color – white;
10. Fill fillets with white:
289
11. Now, we will retouch the eyes. As a rule, a grey pupil in a black-and-white photo
means that the eyes are either green or blue; if the pupil is dark, the eyes are
brown. In the image, a pair of eyes is lighter than the other, thus, we will fill the
eyes on the left with green, and the eyes of the right will be brown. We will now
create (see Item 2) a new layer and name it Eye;
12. Select the Paintbrush Tool and adjust the following settings:
12.1. Open the Mode drop-down list and click Normal;
12.2. Opacity – 75;
13. Set the Foreground color for brown eyes – 634008 (see Clause 3.3.);
14. Retouch the eyes of the girl on the right;
15. Set the Foreground color for green eyes – 656712 (see Clause 3.3.);
16. Retouch the eyes of the girl on the left;
17. Let's now make the lips rosy... Now create (see Clause 2) a new layer and name
it Kisser;
18. Select the Paintbrush Tool and adjust the following settings:
18.1. Open the Mode drop-down list and click Normal;
18.2. Opacity – 75 for the upper lip and 45 for the lower lip;
19. Set the Foreground color for red lips – e12424 (see Clause 3.3.);
20. Now retouch the lips;
21. Apply white color to the neckband. Create (see Clause 2) a new layer and name
it Neckband;
22. Select the Paintbrush Tool and adjust the following settings to it:
22.1. Open the Mode drop-down list and click Normal;
22.2. Opacity – 83;
23. Set the Foreground color for the neckband – ffffff (see Clause 3.3.);
24. Retouch the neckbands:
25. Now apply color to the neckwear. Create (see Clause 2) a new layer and name it
Neckwear;
GIMP 290
26. Select the Paintbrush Tool and adjust the following settings to it:
26.1. Open the Mode drop-down list and click Normal;
26.2. Opacity – 98;
27. Set the Foreground color for the neckwear to red; while retouching, select a
different color for each band;
28. Retouch neckwear:
29. Color the uniform in black. Create (see Clause 2) a new layer and name it
Uniform;
30. Select the Paintbrush Tool and adjust the following settings to it:
30.1. Open the Mode drop-down list and click Normal;
30.2. Opacity – 98;
31. Set the Foreground color for a uniform – 000000 (see Clause 3.3.);
32. Retouch the uniform:
33. We will now add a gradient transition to the image background. Use Quick Mask
to select the objects in the photo. In the lower left corner of the image window
press the button . It covers the image with a translucent light red mask;
34. Select the Paintbrush tool and choose white color;
35. Zoom the image, use the brush to color both objects very accurately and press
37. Select the Blend Tool . Foreground color – black, Background color –
white;
38. Move the mouse pointer vertically down across the centre of the image;
39. Select SelectNone command;
Highlight
There are several ways how to make a thing, animal or human being stand out from the
group. Let's analyse the way how the selected object is placed to the centre of attention
irrespective of where it is located.
You can distinguish an object from the group using the Motion Blur filter.
1. Apply FileOpen command to open file masaj.jpg. The photo should be bright;
2. Choose FiltersDecorOld Photo command;
3. Once the Script-Fu: Old Photo dialog opens, adjust the settings:
3.1. Set the Border size to no less than 20;
3.2. Uncheck the Work on copy checkbox;
4. Press OK;
5. Apply FileOpen as Layers command to open the same photo in a different
layer. The Layers dialog will be supplemented by a new layer which contains
your opened photo, whereas the aged photo will appear in the Background
layer:
293
6. Move the Background layer up. Select the Background layer and press .
Now the aged photo will cover the original photo in the working window;
7. In the Layers dialog, position the mouse pointer on the Background layer and
right-click the mouse to open the context menu. Select the Add Layer Mask
command. It opens the Add Layer Mask dialog;
8. In the dialog, go to the Initialize Layer Mask to group-box control and select the
White (full opacity) radio button;
9. Press the Add button.
10. We will now create a mask. Select the Blend Tool . Use this tool to draw a
small horizontal line in the centre, thus creating a smooth transition. Use black
and white colors. The longer the line, the smoother the transition;
11. In the Layers dialog, position the mouse pointer on the Background layer and
right-click the mouse to open the context menu. Select the Apply Layer Mask
command. You will see the result in the working window:
Stars
GIMP 294
When analysing the Sparkle filter, we saw how a sparkle effect is rendered to the white
spots in the image. However, it is important to note that sparkling spots do not always
appear where they are needed. What to do when there are no white spots in the image.
white , press the icon in the lower left corner , restore the colors and then
click on the arrows. There is also another way to select the color.
7. Set the Brush to Circle (11);
8. Set the Scale slider to 0.01;
9. Use the pencil to draw small dots in the desired locations in the image;
Note!
Since you are painting on a white translucent page in white, you cannot see the dots,
but you can imagine where they should be.
10. Now apply the filter to the image. Choose Filters Light and ShadowSparkle
command;
11. Once the Sparkle dialog opens, adjust the following settings:
12. Move the slider of the Flare intensity scale to 0.46;
13. Set the slider of the Spike length scale to 63;
14. Move the slider of the Spike point scale to 1;
15. Press OK and you will see the image in the working window
295
Border
We have already dealt with borders when analysing filters. We applied
FiltersDecorAdd Border command; a simple border is placed to the image
automatically. However, we can draw beautiful borders manually. How to do that?
2. Once you open the image, zoom the visible area because the border requires an
additional area; otherwise, it will cover the image. Apply ImageCanvas Size;
when the Set Image Canvas Size dialog opens, adjust certain settings:
2.1. We will now use the Canvas Size group-box control. Increase Width and Height
by 200 pixels each. First, press the button , i.e. disconnect the two
values. Now we can adjust both settings irrespective of one another;
GIMP 296
Note!
We know that by increasing width and height by 200 pixels, the image will be moved at a
distance of 100 pixels from top and bottom. It will be drawn from both sides at the same
distance.
2.2. Press the Centre button;
2.3. Press the Resize button;
3. We will now create a new layer. Apply the LayerNew Layer command. When
the New Layer dialog opens, adjust the following settings:
3.1. Give a name to the layer. Enter Border to the Layer name box;
3.2. Do not change any other settings; leave default settings;
3.3. Press OK;
4. Select only the image. Select the Rectangle Select Tool and left-click the
mouse to select the image;
5. Apply the SelectInvert command to make the selected part the border area;
6. We will now create a border. Let's first discuss several options. Select the Blend
Tool . Adjust the settings with regard to the image colors:
6.1. Open the gradient selector in the options by pressing the Gradient button and
select the gradient DARK1;
6.2. Open the Shape list and press Linear;
6.3. Use the mouse to draw a vertical line from bottom to top; if the selection is
correct and the Border layer is active, we will see the following result:
2.
2. Go to ImageScale Image. It opens the Scale Image dialog. Adjust the following
settings:
2.1. Since we have to maintain the proportions of the image, check whether the values
Width and Height are interconnected;
2.2. Check which value - Width or Height - is larger. If the Width value is higher, enter
100 to the box; if the Height value is higher, enter 100 to the box;
2.3. Enter 72 In the X resolution and Y resolution box;
2.4. Press the Scale button. The working window shows a significantly reduced image:
3.
3. Now save the image. Go to FileSave As; when the Save Image dialog opens,
select:
3.1. Select the file extension .jpg from the list Select File type (By Extension);
3.2. Enter file name in the Name box;
3.3. Press the Save button. Now you have your "business card" which you can use online.
Note!
299
Before designing such a "business card", it is important to find out the requirements
applicable for placing it on the website. 100 pixels may be too much, because some
websites allow no more than 70 pixels.
2. Select the Crop Tool and use it to frame the part of the image to be used
for the "business card":
3. Click the mouse pointer on the selected area; it removes the blackened area -
only the selected part remains;
4. Whereas this part will be placed online, you need to reduce its size. Go to
ImageScale Image. It opens the Scale Image dialog. Adjust the following
settings:
4.1. Since we have to maintain the proportions of the image, check whether the
values Width and Height are interconnected;
4.2. See which value - Width or Height - is larger. If the Width value is higher, enter
100 to the input box; if the Height value is higher, enter 100 to the input box;
4.3. Enter 72 in the X resolution and Y resolution input box;
4.4. Press the Scale button. The working window shows a significantly reduced
image:
5. Now save the image. Use the command FileSave As. Adjust the required
settings in the Save Image dialog:
1. Since motorcycles are one of the hobbies, open photo Suzuki.jpg picturing a
motorcycle:
4. You now have two images. Let's create a new image by combining the two
images. Select FileNew. When the Create a New Image dialog opens, adjust
the following settings:
4.1. Width – 100 pixels;
4.2. Height – 200 pixels;
5.5. In the Layers dialog, press the Create a new layer and add it to the image
button to locate the first image to the new rather than the floating layer;
6. Return to the second image. Press the Rectangle Select Tool:
6.1. Select the image;
301
6.2. Apply EditCopy command;
6.3. Go back to the new (third) image and apply EditPaste command. The second
image is positioned in the centre;
6.4. Select the Move Tool and move the second image to the desired location. Now
we have the border but no image, thus, carry out the steps under Clause 6.5;
6.5. In the Layers dialog, press the Create a new layer and add it to the image
button to locate the first image to the new rather than the floating layer:
7. Use to remaining space to enter the young man's type of work – Auto service.
Select the Text Tool and adjust the following settings:
7.1. Font – Serif Bold;
7.2. Click on the Antialiasing button;
7.3. Color – blue (HTML notation – 000074 );
7.4. Justify – Centered ;
7.5. Enter text Auto service. Now you have a new text layer Auto... .
8. Let's add a shadow to the text. Choose Filters Light and ShadowDrop
Shadow command. When the Script-Fu: Drop Shadow dialog opens, adjust the
following settings:
8.1. Offset X – 3;
8.2. Offset Y – 3;
8.3. Blur radius – 8;
8.4. Opacity – 100;
8.5. Uncheck Allow resizing;
8.6. Press OK:
9. Since each image in the "business card" is like a separate object, let's try to
merge them. First, merge all layers. Apply the ImageMerge Visible Layers
command. When the Merge Layers dialog opens, press the Merge button. We
now have a single layer;
10. We will now try to blur the intersections of the images. Zoom the image. Select
the Zoom Tool and click the mouse pointer on the image several times;
Note!
GIMP 302
Make sure that the Zoom in radio button in the Tool Toggle group-box control of the
Zoom Tool settings is checked.
Note!
Since images are small, select a small brush.
12. Choose the Zoom Tool and reduce the image window;
Note!
The Zoom out radio button in the Tool Toggle group-box control must be checked
13. "Business card" would look better if a border was added to it. Apply
FiltersDecorFuzzy border command. When the Script-Fu: Fuzzy border
dialog opens, adjust the following settings:
13.1. Color – 2c6f77;
13.2. Border size – 5;
13.3. Press the OK button. You will now see the result in a new working
window:
Age a photo
1. Apply FileOpen command to open file rosebay.jpg.
2. We will turn a color image into a black-and-white image. Apply
ImageModeGrayscale command
303
6. Now, we will create a new layer and name it Brown. In the Layers dialog, open
the context menu and choose the New Layer command to open the New Layer
dialog;
7. Enter Brown to the Layer name box;
8. In the Layer Fill Type group-box control, press the Foreground color radio
button;
9. Press OK. You now see an empty brown page in the working window;
10. In the Layers dialog, set the slider of the Opacity scale to 55:
2. Press the keyboard shortcut Shift+C. The mouse pointer turns into ;
3. Left-click the mouse and hold it down while moving the pointer around the part
of the image which will be used for further editing:
4. Press the Enter key on the keyboard. The working window shows an image part:
8. Cancel the selection through SelectNone command; We now see that the
command is not active. It is not active because you know that a new layer
appears while copying – Floating Selection (Pasted Layer);
9. In the Layers dialog, press the Anchor the floating layer button ;
10. Select SelectNone command.
6. We will now draw multi-storey houses at night; they may be darker or lighter
than the sky. Draw the houses using the Rectangle Select Tool . As there are
a lot of houses, we need to merge the selected objects. Select the Rectangle
Select Tool :
6.1. Draw the first house;
6.2. In the Mode group-box control, press Add to the current selection ;
6.3. Draw the rest of the houses:
7. Fill the selected area with black. Select the Bucket Fill Tool and adjust the
settings to it:
7.1. In the Fill Type group-box control, check the FG color fill radio button ;
7.2. In the Affected Area group-box control, check the Fill whole selection radio button;
7.3. Fill the area with dark blue color. Change the foreground color to 00004d (HTML
notation);
7.4. Click the mouse pointer in the selected area:
307
8. Draw the luminous windows for a house. For that, it is best to select the
Paintbrush and adjust the settings to it:
8.1. Open the list of available brushes and select Galaxy (AP) for larger windows;
8.2. Move the Scale slider to 1.45;
8.3. Position the mouse pointer on the image and draw larger windows;
8.4. Open the list of available brushes and select square (10x10) blur for smaller
windows;
8.5. Position the mouse pointer on the image and draw smaller windows:
9. Use a soft paintbrush to draw a path. Select Paintbrush and adjust the settings
to it:
9.1. Open the Mode drop-down list and select Soft light;
9.2. Open the list of available brushes and pick Circle (19);
9.3. Draw a path in the image:
GIMP 308
12. Color the poles in white. Select white as the foreground color, i.e. press the
Foreground & background colors button ;
13. Select Bucket Fill Tool and adjust the settings to it:
13.1. In the Fill Type group-box control, check the FG color fill radio button ;
13.2. In the Affected Area group-box control, check the Fill whole selection
radio button;
13.3. Click the mouse pointer in the selected area;
14. Remove the selection using the command SelectNone;
309
15. We will now use the filter to render the illumination effect to the streetlights.
Apply the FiltersLight and ShadowGradient Flare. Once the Gradient Flare
dialog opens, adjust the following settings:
15.1. Select Classic from the Selector tab;
15.2. In the tab Parameters , adjust the following settings:
15.2.1. Flare centre – position the mouse pointer on top of the first pole (in the
preview window) and left-click the mouse;
15.2.2. Press OK;
15.3. Repeat clauses 14.1. – 14.2.2. for each pole;
16. Now, dress the sky with stars. Create a new layer and name it star1 by applying
LayerNew Layer command. When the New Layer dialog opens, adjust the
following settings:
16.1. Enter star1 in the Layer name box;
16.2. In the Layer Fill Type group-box control, select the Transparency radio
button;
16.3. Press OK;
17. Select the Pencil Tool. Adjust the pencil settings:
17.1. In the Foreground &background colors tool, click on the arrows .
Now the foreground color is white, i.e. the pencil draws in white color;
17.2. Set Brush to Circle (11);
GIMP 310
17.3. Set the Scale slider to 0.01;
17.4. Use the pencil to draw small dots in the desired locations in the image;
18. Now apply the filter to the image. Choose Filters Light and ShadowSparkle
command; Once the Sparkle dialog opens, adjust the following settings:
18.1. Set the slider of the Flare intensity scale to 0.18;
18.2. Set the slider of the Spike length scale to 14;
18.3. Move the slider of the Spike point scale to 4;
18.4. Set the slider of the Spike density scale to 0.25;
18.5. Press OK;
19. Merge both layers. In the Layers dialog, open the context menu and select the
Merge Down command;
20. We will now draw a reflection of the houses on the wet asphalt. Apply
EditCopy command to copy the upper part of the image;
21. Apply EditPaste command to place the copied upper part of the image on
top;
22. Apply LayerNew Layer command to create a new layer which merges with
Floating Selection (Pasted Layer);
23. Select the Flip Tool and adjust the following setting to it:
23.1. In the Flip Type group-box control, press the Vertical radio button;
23.2. Click the mouse pointer in the selected area:
24. We will now change the layer perspective. Select the Perspective Tool . It
opens the Perspective dialog:
311
24.1. Drag the corners of the selected area with the mouse to create a
perspective;
24.2. Press the Transform button;
25. Use the Move Tool to move the selected area to the lower part of the
image;
26. Apply FiltersBlurGaussian Blur command. In the Gaussian Blur dialog, set
Blur radius – 5;
27. Apply the filter FiltersDistortsWaves to the selected area. When the
Waves dialog opens, adjust the following settings:
27.1. Amplitude – 6.62;
27.2. Phase – 64.92;
27.3. Wavelength – 0.10;
27.4. Press OK;
GIMP 312
Animated banner
1. Open a Create a New Image dialog through FileNew and adjust the following
settings:
1.1. Set the size of the image you are about to create:
1.1.1. Width – 176 pixels;
1.1.2. Height – 62 pixels;
1.2. Press OK;
5. We will now hide the RIGA BDA layer; in the Layers dialog, press the icon
on the left of the layer name. It is required to create the animation effect;
6. Make the Background layer active;
7. Select the Text Tool and adjust the following settings:
7.1. Font – Sans Bold;
7.2. Press the Antialiasing button;
7.3. Color – red (HTML notation – ff0000);
7.4. Justify – Centered ;
8. Enter the text PANEVEZYS KTU PI:
9. Now, hide the PANEVEZYS KTU PI layer; in the Layers dialog, press the icon
on the left of the layer name.
10. Make the Background layer active;
11. Select the Text Tool and adjust the following settings:
11.1. Font – Sans Bold;
11.2. Click on the Antialiasing checkbox ;
11.3. Color – cyan ( HTML notation – c8fffe );
11.4. Justify – Centered ;
313
12. Enter text TALLINN KOOLITUS:
13. Now, hide the TALLINN KOOLITUS layer; in the Layers dialog, press the icon
on the left of the layer name.
14. Make the Background layer active;
15. Repeat the Duplicate Layer command three times. You can now see in the
Layers dialog:
16. In the Layers dialog, move the Background copy#2 layer above the layer
TALLINN… . The layer becomes active, press the button . We can also move
it by the mouse, i.e. click the mouse pointer on the layer and hold the left mouse
button down while dragging the layer to the desired location;
17. Apply LayerMerge Down command;
18. In the Layers dialog, move the Background copy#1 layer above the layer
BDA. The layer becomes active; triple-click the button . We now have four
layers:
21. We will now merge the RIGA BDA, PANEVEZYS..., TALLINK... layers in the form
of animation. Apply FiltersAnimation Blend command to open the Script-
Fu: Blend dialog:
GIMP 314
21.1. Press OK;
22. Apply FiltersAnimationOptimize (for GIF) command. We now have 12
layers;
23. In the Layers dialog, click the mouse pointer on the first layer Frame 1(100ms);
24. Position the mouse pointer on the layer and right-click the mouse to open the
context menu and select the Edit Layer Attributes command from the drop-
down list of commands. When the Layer Attributes dialog opens:
24.1. Enter Frame 1(1500ms) instead of Frame 1(100ms) in the box, i.e.
change the frame speed;
24.2. Press OK;
25. Do the same with the 5th and the 9th layer;
26. Apply ImageModeIndexed command. In the Convert Image to Indexed
Colors dialog:
26.1. Open the Color dithering list and select – Floyd-Steinberg (reduced
color bleeding Convert );
26.2. Press the Convert button;
27. Apply FileSave As to save the image. In the Save image dialog:
27.1. Enter the file name Banner to the Name box;
27.2. Specify the disk and folder for saving the file;
27.3. Open the Select File Type (By Extension) list and select GIF image;
27.4. Press the Save button;
Note!
If you want to save the file in the folder which has not yet been created, press the
Create a folder button.
28. When the Export File dialog opens, don't forget to check the Save as Animation
radio button;
28.1. Press the Export button;
29. When the Save as GIF dialog opens, enter 1000 to the Delay between frames
where unspecified box;
30. Press the Save button.
Banner
We will now create a classical banner of informative type. First of all, we need to decide
about the purpose of the banner. If it is a street banner, the image must be large –
around 4000 pixel width; if it is a leaflet - approximately 1500 pixel width; if it is an
online banner – some 150 pixel width. Let's say we are going to create an online banner.
1. Select FileNew. When the Create a New Image dialog opens, specify the
measurements of the image you want to create:
1.1. Width – 700 pixels;
1.2. Height – 300 pixels;
1.3. Precook;
2. We will now create the main caption by choosing a logo template. Go to
FileCreateLogos Glowing Hot. When the Script-Fu: Glowing Hot dialog
opens, adjust the following settings:
315
2.1. Enter the banner text to the Text box – KTU PI;
2.2. Press the OK button. You will see the glowing letters against the dark
background in the new working window:
3. You now see three layers in the Layers dialog: KTU PI, Glow Layer; Background.
The first two contain a text; the last one – black background. Merge the first two
layers. Select the KTU PI layer and open the context menu while keeping the
mouse pointer on it. Apply the Merge Down command;
4. Make sure that the Glow Layer is selected. Apply EditCopy command;
5. Go back to the original working window with your created empty image;
6. Apply EditPaste command. In the Layers dialog, you can see the Floating
Selection (Pasted Layer). A caption appears against the white background:
7. Anchor the caption to the layer. In the Layers dialog, click on the Create a new
layer and add it to the image button ;
8. We will now deal with the background of the banner. In the Layers dialog, select
the Background layer;
9. We will now apply a filter to the layer. Apply FiltersRenderCloudsPlasma
command. It opens the Plazma dialog with the sole setting:
9.1. Set the slider of the Turbulence scale to 0.7;
9.2. Press the OK button. The background of the image has changed:
10. We will now add more text to the banner. Select the Text Tool . Click the
mouse pointer in the upper right corner. Adjust the following settings to the
text:
10.1. Font – Nimbus Roman No9 L Bold;
10.2. Size – 42;
10.3. Color – ffff9b;
10.4. Enter –KAUNAS:
11. . Select the Text Tool . Click the mouse pointer in the upper left corner.
Adjust the following settings to the text:
11.1. Font – Nimbus Roman No9 L Bold;
GIMP 316
11.2. Size – 42;
11.3. Color – ffff9b;
11.4. Enter –PANEVEZYS:
12. We will now add effects to the new text. In the Layers dialog, select the
PANEVEZYS layer;
13. We will now add a shadow to the text PANEVEZYS . Choose Filters Light and
ShadowDrop Shadow command. When the Script-Fu: Drop Shadow dialog
opens, adjust the following settings:
13.1. Offset X – 9;
13.2. Offset Y – 9;
13.3. Opacity – 100;
13.4. Press OK;
14. In the Layers dialog, press the KAUNAS layer;
15. We will now add a shadow to the text KAUNAS. Choose Filters Light and
ShadowDrop Shadow command. When the Script-Fu: Drop Shadow dialog
opens, adjust the following settings:
15.1. Offset X – 9;
15.2. Offset Y – 9;
15.3. Blur radius – 11;
15.4. Opacity – 100;
15.5. Uncheck– Allow resizing;
15.6. Press OK:
16. We can make the banner more varied by adding sparkling dots to it. Create a
new layer. Apply the LayerNew Layer command. It opens the New Layer
dialog. Give the name dot to the layer;
17. In the Layers dialog, select the dot layer;
18. Select the Pencil Tool. Adjust the following settings in the dialog:
18.1. Brush – Circle (03);
18.2. Set the Scale slider to 0.46;
19. Choose the foreground color – white;
20. Click the mouse pointer on the image in such places where you would like to see
the sparkling dots;
21. Choose Filters Light and ShadowSparkle command; When the Sparkle
dialog opens, leave the default settings;
21.1. Press OK;
22. We will now change the image background by adding the lighting effect to it. In
the Layers dialog, choose the Background layer;
317
23. Choose Filters Light and ShadowLighting Effects command. It opens the
Lighting Effects dialog. Now adjust the following settings:
23.1. In the preview window of the dialog, position the mouse pointer in the
place where you want the light source to be. Click on it and drag it to the upper
right corner;
23.2. Open the Light tab and adjust the following:
23.2.1. Intensity – 1.7;
23.3. Open the Bump Map tab and check – Enable bump mapping;
23.4. Press OK;
24. We will now add a border to the image that will merge all elements. Choose
FiltersDecorAdd Border command. When the Script-Fu: Add Border dialog
opens, adjust the following settings:
24.1. Border X size –9;
24.2. Border Y size – 9;
24.3. Border color – 7b041c;
24.4. Press OK:
25. Apply FileSave As command and enter the image name and indicate where to
save it in the Save Image dialog.
Text
To make the designed images more varied, the text may be entered in various ways and
forms.
4. Enter the text that you want to align along the path. Select the Text Tool;
5. Click the mouse pointer on the image and enter the text;
Note!
Choose a small font size to ensure that letters do not cover one another.
6. Arrange the text along the path. In the Layers, Channels, Paths, Undo, History –
Brusies, Patterns, Gradients palette, open the Paths dialog. Press the icon Open
10. It creates a new path RIGA TALLINN PANEVEZYS. Now you need to turn a new
path to letters. Open the Layers dialog and click on the icon ;
11. In the Layers dialog, select the Background layer;
18. You can now delete the original text. In the Layers dialog, click on the path RIGA
TALLINN PANEVEZYS;
19. Press the Delete path button;
20. Open the Paths dialog and press the eye on the left of the Unnamed path .
The path has disappeared:
8. We can apply filters to this image like any other image. Choose Filters Light
and ShadowDrop Shadow command. When the Script-Fu: Drop Shadow
dialog opens, do not change any settings;
9. Press OK;
5. Open the Paths dialog and press the sole available path – RIGA;
6. We will now form the selection area by the form of font. In the Paths dialog,
press the Paths to selection button :
10. We will now add a mosaic effect to the font. Apply Filters DistortsMosaic
command. Once the Mosaic dialog opens, adjust the following settings:
10.1. Tiling primitives – Octagons&squares;
10.2. Set the slider of the Tile size scale to 37.0;
10.3. Set the slider of the Tile height scale to 15.0;
10.4. Set the slider of the Tile neatness scale to 0.9;
10.5. Set the slider of the Light direction scale to 125.0;
10.6. Set the slider of the Color varianton scale to 0.55;
10.7. Uncheck Color averaging;
10.8. Check Pitted surfaces;
10.9. Press OK:
GIMP 322
3D text
1. Go to FileNew to open the image and adjust its settings in the Create a New
Image dialog:
1.1. Width – 300 pixels;
1.2. Height – 150 pixels;
1.3. Press OK;
2. Now, we will enter the text and apply a more prominent style to it. Select the
Text Tool and adjust the following settings:
2.1. Font – URW Bookman L Bold;
2.2. Size – 56 pixels;
2.3. Color – a41f1f;
3. Position the mouse pointer in the image window and when the GIMP Text
Editor dialog pops up, enter the text – TALLINN:
3.1. Press the Close button. It adds a new layer TALLINN to the Layers dialog;
4. Move to the Layers dialog and press the Create a duplicate of the layer and add
it to the image button . It adds a new layer TALLINN#1;
5. Now, make the TALLINN layer invisible. Press the eye on the left of the layer ;
6. In the Layers dialog, click the mouse pointer on the layer TALLINN#1; it becomes
active;
7. Open the context menu and select the Layer to Image Size command;
8. We will now apply a filter to the image that will let you map it to the desirable
object. Apply FiltersMapMap Object command; when the Map to Object
dialog opens, adjust the settings:
8.1. In the Options tab:
8.1.1. Select Plane in the Map to drop-down list;
8.1.2. Check the Transparent background checkbox;
8.2. In the Orientation tab:
8.2.1. In the Rotation group-box control, move the slider of the Z: scale to (-
45.00);
8.2.2. Press OK:
323
9. Change the layer properties to the TALLINN#1 layer, i.e. open the context menu
and select Edit Layer Attributes;
9.1. When the Layer Attributes dialog opens, use the Layer name input box to enter
Tridimentional Top;
9.2. Press OK;
10. Open the context menu and apply Duplicate Layer. It opens a new layer
Tridimentional Top#1;
11. Change its name. Position the mouse pointer in the Layers dialog, on the
Tridimentional Top#1 layer and swiftly double-click the left mouse button. The
name becomes more prominent; enter Tridimentional Bottom and press Enter;
12. Move this layer below the Tridimentional Top layer, i.e. in the Layers dialog,
press the Lower this layer one step in the layer stac button ;
13. Create a copy of the Tridimentional Bottom layer, i.e. open the context menu
and select the Duplicate Layer command. It adds a new layer Tridimentional
Bottom#1 to the Layers dialog
14. Choose the Move Tool and slightly move the text in the image downwards:
16. You can now see all your created layers in the Layers dialog:
17. Open the context menu and select the Merge Down command;
18. Now, merge all additional layers Tridimentional Bottom#2,3,4,5 to one, i.e.
repeat Clause 17 until the Layers dialog looks like that:
GIMP 324
20. Select the Bucket Fill Tool and fill the letters of the merged layer with it:
Shining text
1. Go to FileNew to open the image and adjust its settings in the Create a New
Image dialog:
1.1. Width – 450 pixels;
1.2. Height – 175 pixels;
1.3. Press Advanced Options and select the Foreground color from the Fill with
drop-down list;
1.4. Press OK;
2. We will now enter the text. Select the Text Tool and adjust the following
settings:
2.1. Font – URW Bookman L Bold Italic;
2.2. Size – 64 pixels;
2.3. Color – ffffff;
3. Position the mouse pointer on the image and enter Koolitus in the GIMP Text
Editor dialog :
11. We will now blur the borders of the text. Apply SelectFeather command to
open the Feather Selection dialog and adjust the following:
11.1. Enter 20 in the Feather selection by input box ;
11.2. Press OK:
12. We will now select the shining color. Select Background color – 007eff;
13. Apply EditFill with FG Color command:
31. We will now give several more examples of application of various filters:
32. Filter Alpha to LogoCool Metal:
6. Reduce the selected area because it is required for the border. Apply
SelectShrink command to open the Shrink Selection dialog and adjust the
following:
6.1. Reduce the selected area by several pixels. Enter 25in the Shrink selection by
input box ;
6.2. Press OK:
7. Repeat clauses 4-5, only change the fill direction to the opposite:
8. Reduce the selected area again. Repeat Clause 6, but enter 10 to the Shrink
selection by input box ;
9. Create a new layer. Apply the LayerNew Layer command to open the New
Layer dialog and adjust the following:
9.1. Layer name – Inside;
9.2. Press OK;
10. Select the Foreground Color – 5a7440 and the Background color – 741515;
11. Select the Blend Tool and adjust the setting to it:
11.1. Open the Gradient selector and choose FG to BG (RGB);
GIMP 328
12. Fill the selected area with the gradient selected. Select the direction from right
to left across the centre of the selected area;
13. Remove the selection using the command SelectNone:
14. Select the Ellipse Select Tool and draw an ellipse in each border of the
central ellipse;
Note!
Before you draw the second ellipse, go to the ellipse options and click the Add to the
17. Select the Blend Tool and adjust the setting to it:
17.1. Open the Gradient selector and choose FG to Transparent;
18. Fill the selected area with the gradient selected. Select the direction from top to
bottom across the centre of the selected area:
20. We will now enter the text. Select the Text Tool and adjust the following
settings:
20.1. Font – Ubuntu Bold Italic;
20.2. Size – 30 pixels;
20.3. Color – ffd0d0;
20.4. Justify – Centered ;
21. Position the mouse pointer on the image and enter Leonardo da Vinci in the
GIMP Text Editor dialog :
22. Press Close. It opens the Leonardo da Vinci layer:
329
23. We may apply various filters to the text. Apply FiltersLight and
ShadowDrop Shadow command; when the Script:Fu Drop Shadow dialog
opens, adjust the settings of the shadow you are about to create:
23.1. Offset X – 8;
23.2. Offset Y – 8;
23.3. Blur radius – 6;
23.4. Color – 000000 (black);
23.5. Press OK:
24. Apply the Xach effect to your created image. In the Layers dialog, choose the
Ellipse layer;
25. Apply FiltersLight and ShadowXach-Effect command to open the Script:Fu
Xach-Effect dialog; do not change any settings and press OK:
GIMP 330