Академический Документы
Профессиональный Документы
Культура Документы
GIMP - an introduction
GIMP TIMNG
Contents
Contents 2
Introduction 5
Setting up GIMP 7
Image navigation 8
Canvas size 12
Introduction to Layers 14
* Layer Masks 49
* Introduction to Text 51
Appendix 58
IT Learning Programme
2
GIMP TIMNG
Text conventions
A number of conventions are used to help you to be clear about what you need to do
in each step of a task.
• I n general, the word press indicates you need to press a key on the keyboard.
Click, choose or select refer to using the mouse and clicking on items on the
screen. If you have more than one mouse button, click usually refers to the left
button unless stated otherwise.
• N
ames of keys on the keyboard, for example the Enter (or Return) key are
shown like this ENTER.
ultiple key names linked by a + (for example, Ctrl (Cmd)+Z) indicate that
• M
the first key should be held down while the remaining keys are pressed; all
keys can then be released together.
• Words and commands typed in by the user are shown like this.
• Labels and titles on the screen are shown like this.
• D
rop-down menu options are indicated by the name of the options separated
by an angle bracket, for example File>Print. In this example you need to
select the option Print from the File menu. To do this, click with the mouse
button on the File menu name; move the cursor to Print; when Print is
highlighted, click the mouse button again.
• A button to be clicked will look like this
he names of software packages are identified like this, and the names of files
• T
to be used like this.
IT Learning Programme
3
GIMP TIMNG
Software used
GIMP 2.8.14
Windows XP or Mac OSX
Files used
images folder containing images
Revision information
Version Date Author Changes made
1.0 November 2013 Carl Wenczek New notes for new course
1.1 May 2014 Carl Wenczek Corrections and minor amendments
1.2 September 2014 Carl Wenczek Checked for errors
1.3 April 2015 Carl Wenczek Reordering of introductory pages
Acknowledgements
Photographs are used with the permission of Carl Wenczek and Born Digital Ltd.
and planetary images are Courtesy NASA/JPL-Caltech.
Copyright
Carl Wenczek makes this document and the accompanying PowerPoint presentation
available under a Creative Commons licence: Attribution, Non Commercial, No
Derivatives. Individual resources are subject to their own licencing conditions as
listed.
IT Learning Programme
4
GIMP TIMNG
Introduction
The GNU Image Manipulation Program, or GIMP, is a
raster graphics editor used to process digital graphics
and photographs. Typical uses include creating graphics
and logos, resizing and cropping photos, altering colours,
combining multiple images, removing unwanted image
features, and converting between different image formats.
GIMP can also be used to create basic animated images in
GIF format.
Window> and then select History and other menu palettes from
the list
IT Learning Programme
5
GIMP
6
Toolbox and Tool Main menu Image window Dockable dialogue Dockable dialogues
Options (undocked) (docked)
IT Learning Programme
TIMNG
GIMP TIMNG
Setting up GIMP
3. Select Default Grid. The right hand side of the Preferences dialogue box
will change to show the options for the Default Image Grid.
6. Still using the Preferences dialogue, select Toolbox and ensure all three
items (Show foreground..., Show active brush... and Show active image) are
checked. These three items will appear at the bottom of the Toolbox.
7. Click OK.
Edit>Preferences>Guides, Grid & Slices...
Choose dialogues Steps
4. The Undo History dialogue will appear in the dockable dialogues panel. This
lists all of the actions you have carried out on an image. You can revert to any
point by clicking on an entry in the list.
Window> and then select History and other menu palettes from the list
Notes
IT Learning Programme
7
GIMP TIMNG
Image navigation
1. Choose File>Open... This will launch the Open Image dialogue box.
2. You will notice that there are options along the top of the dialogue box as
well as the usual list of folders and drives down the left hand side to help you
navigate and locate a file or folder.
2. Move your mouse cursor over the image. You will notice the cursor shows a
magnifying glass symbol with a small + (plus) sign above it.
4. Hold down the Ctrl (Cmd) key. The symbol above the magnifying glass
should change to a - (minus) sign.
5. While holding down Ctrl (Cmd) click with the mouse in the image to zoom
out.
Select the Zoom Tool from the Toolbox. Hold down Alt to zoom out.
Use the Navigation Steps
dialogue
1. From the main menu choose Windows>Dockable Dialogs
4. Use the slider or zoom buttons to zoom in or out of the image. If you hover
your mouse over the buttons a tool tip will popup indicating the function of the
button.
5. If the zoom is set higher than the image window can display a rectangular
outline appears in the Navigation dialogues thumbnail of the image showing
the location of the current view area in respect to the image. This rectangular
outline can be dragged to change the viewing region.
Window>Navigator
Notes
IT Learning Programme
8
GIMP TIMNG
Notes
IT Learning Programme
9
GIMP TIMNG
1. Choose File>Open...
2. Leave the X and Y resolution set to 72 pixels per inch (pixels/in). Note:
changing the resolution will have no effect on an images on-screen size. It is the
absolute number of pixels wide and high that determine image size on computer
displays (next step).
3. Adjust the images height and width by entering new Height and Width
values. Enter a Width of 800 pixels and press the TAB key. The Height
should change proportionally.
Notes
IT Learning Programme
10
GIMP TIMNG
3. Set the X and Y resolution to 300 pixels per inch (pixels/in) and note the
change in Print Size.
4. Set the Width to 28 (cm) to fit an A4 sheet and notice the effect this has on
the resolution.
Notes
IT Learning Programme
11
GIMP TIMNG
Canvas size
IT Learning Programme
12
GIMP TIMNG
2. Select percent.
3. Both the Width and the Height fields will change to display
percent.
4. Now enter a percentage value for the new canvas size by typing
a new value into the Width and Height fields. A good value to try
is 110%
6. When you are happy with your settings click the Resize button.
The Canvas Size feature in Photoshop works in a similar way.
Photoshop has an Anchor feature to position the image within the
canvas.
Change to Steps
Background
colour 1. You will notice that the new canvas around your image is the
same colour as the Background colour in the Toolbox.
Click on the
Background
colour to change it
IT Learning Programme
13
GIMP TIMNG
Introduction to Layers
The organization of layers in an image is shown by the Layers dialogue, which is the second most important
type of dialogue window in GIMP, after the Main Toolbox.
Layer
dialogue tab
Layer blending
mode
Layer opacity
Notes
IT Learning Programme
14
GIMP TIMNG
3. Select the Sands on Mars image window and from its main menu choose
Edit>Paste.
4. The Saturn image will be pasted into the Sands of Mars image.
Pasted image
appears in the
Layers dialogue
as a Floating
Selection
1. Right-click over the Floating Selection temporary layer and choose To New
Layer.
3. Rename this Saturn by double-clicking over the name Pasted Layer and
typing in the new name.
4. You should now have two layers. The top layer in the layer stack called
Saturn and the bottom layer called Sand on Mars.jpg.
Notes
IT Learning Programme
15
GIMP TIMNG
2. From the Layers dialogue click on the Mode drop down menu and choose
Screen.
Layer
blending mode
dropdown
menu
3. The Saturn image will change appearance. When using Screen mode the
resulting image is usually brighter, and sometimes “washed out” in appearance.
Darker colors in the image appear to be more transparent.
Photoshop also has layer blending modes located in the Layers panel
3. Click and drag in the image window to move the Saturn image into position
(see below).
2. GIMP should automatically save the image in its native XCF file format. If
not select this file type from the Select File Type (By Extension) menu.
XCF is GIMP’s native format, and is useful because it stores everything about an
image including layers.
IT Learning Programme
16
GIMP TIMNG
For example, if you select, paint, and rotate part of an image, each of those states is listed
separately in the dialog. When you select one of the states, the image reverts to how it
looked when that change was first applied. You can then work from that state.
Display the Steps
History dialog
1. To display the History dialog, choose Windows>Dockable
Dialogs>Undo History.
Window>History
History dialog
History state
Notes
IT Learning Programme
17
GIMP TIMNG
Selections allow you to specify an area of an image for editing. Only the area within a
selection can be edited, areas outside the selection are protected from change.
Layers allow you isolate different parts of an image on layers. Each layer can then be
edited as discrete artwork, allowing unlimited flexibility in composing and revising an
image.
Every GIMP image contains one or more layers; every new file is created with a
background, which can be converted to a layer. You can view and manipulate layers in
GIMP with the Layers dialog.
All new layers in an image are transparent until you add artwork (pixel values). Working
with layers in GIMP is analogous to placing portions of a drawing on sheets of acetate
– individual sheets may be edited, repositioned, and deleted without affecting the other
sheets and when the sheets are stacked the entire drawing is visible.
Notes
IT Learning Programme
18
GIMP TIMNG
3. GIMP will default to saving the file in it’s native XCF format.
This format supports layers.
4. Click Save.
File>Save As...
Arrange the Steps
images so that you
can see both of 1. At the very top of each image window is the title bar that you can
them at the same click and drag to reposition that image anywhere on your computer
time screen.
Photoshop opens each image into a new tab. Choose
Window>Arrange>Float All in Windows.
Notes
IT Learning Programme
19
GIMP TIMNG
1. Locate the Layers dialog from the dockable dialogs on the right
hand side of the screen.
Right-click here to
launch the Layers
Show or hide a
dialog menu
layer by clicking on
the eye symbol
IT Learning Programme
20
GIMP TIMNG
C D
B - The Fuzzy Select Tool (U) lets you select a contiguous region on
the basis of colour.
C - The Free Select Tool (F) lets you select a hand-drawn region
with free and polygonal segments.
D - The Scissors Select Tool (I) select shapes using intelligent edge-
fitting.
Photoshop has the same tools that can be easily identified from
their icons. Hovering over the tools reveals a tool tip showing the
name of the tool and describing its function.
The Fuzzy Select Tool is called the Magic Wand Tool and
the Scissors Select Tool is called the Magnetic Lasso Tool in
Photoshop.
Notes
IT Learning Programme
21
GIMP TIMNG
1. Select the Zoom Tool (Z) and click a few times over the
blueberry to zoom in to a 300% view.
Note: This method will work with any of the selection tools.
3. If you are not happy with the selection after repositioning it, you
can deselect it (Choose Select>None) and redraw it.
IT Learning Programme
22
GIMP TIMNG
3. When you have finished making the selection you will notice
that the selection has a rectangular bounding box around it with
squares in the corners.
IT Learning Programme
23
GIMP TIMNG
Look at the Layers dialog, your blueberry has been pasted into a
Floating Selection which is a type of temporary layer. This must be
converted to an ordinary layer.
Double-click over
the layer name to
rename it
IT Learning Programme
24
GIMP TIMNG
2. From the Tool Options in the Toolbox select Move the active
layer.
4. Place it over the melon next to the blueberry. The carrot forms
the rest of Mr Melon Head’s eye.
Move Tool
Rename the new Steps
layer
1. Select the Layers dialog.
2. Double-click over the name of the new layer (Pasted Layer #1)
and enter the new name carrot.
Double-click to rename the new layer
Notes
IT Learning Programme
25
GIMP TIMNG
Notes
IT Learning Programme
26
GIMP TIMNG
• blueberry
• Start 01.psd
If the carrot layer is above the blueberry layer in the stack and you
move the carrot over the blueberry it will obscure the blueberry.
This is because the carrot layer is above the blueberry layer in the
stack of layers.
In order for the carrot to appear behind the blueberry, the carrot
layer will need to be below the blueberry layer. To change the
stacking order drag the layer up or down the Layers dialog to the
new position.
Steps
Notes
IT Learning Programme
27
GIMP TIMNG
Click +/- to
expand and
collapse the
Layer Group
Layer Group
Layers inside
a Layer Group
appear indented
Notes
IT Learning Programme
28
GIMP TIMNG
or
2. Drag the Layer Group over the Create a duplicate of the layer...
button (see image below).
Create a
duplicate of the
layer...
Notes
IT Learning Programme
29
GIMP TIMNG
3. From the Tool Options in the Toolbox select Move the active
layer.
4. Position the Move Tool over the eye and click and drag to move.
Same process in Photoshop
Position the Move Tool over the ... click and drag to move it into
eye... position
Notes
IT Learning Programme
30
GIMP TIMNG
2. Drag it diagonally from the top left to the bottom right corner of
the kiwi fruit to create an elliptical selection.
Elliptical Marquee Tool
Create a copy of Steps
the kiwi fruit
1. Ensure the Start 01.psd layer is selected then choose
Edit>Copy and then Edit>Paste.
IT Learning Programme
31
GIMP TIMNG
Its options appear in the bottom half of the Toolbox, allowing you
to modify the way the tool works.
Steps
5. Click the Fuzzy Select Tool anywhere in the pear tomato. Most
of it will be selected.
IT Learning Programme
32
GIMP TIMNG
IT Learning Programme
33
GIMP TIMNG
3. Start at the top left corner of the pasta. Click, release and move
to the right to create a short segment. Click again, release and
move. Continue this process, working your way around the outline
of the pasta, fitting the selection closely to the edge of the pasta.
5. If you want to start again from scratch, press the ESC (escape)
key.
6. To complete (or close) the selection, make sure that the last
straight line crosses the start of the selection. Release the mouse
button to close the selection.
In Photoshop this tool is called the Polygonal Lasso Tool. Instead
of pressing the Backspace key use the Delete key to remove
unwanted segments
Begin creating the selection Continue around the pasta... ...complete selection (outline
with the Free Select Tool crosses starting point)
Notes
IT Learning Programme
34
GIMP TIMNG
IT Learning Programme
35
GIMP TIMNG
5. Drag the Free Select Tool around an area you want to add to the
selection; then release the mouse button. The area is added to the
current selection.
IT Learning Programme
36
GIMP TIMNG
Remove, or Steps
subtract, part of
the selection 1. Hold down Ctrl. A minus sign appears alongside the pointer.
2. Drag the Free Select Tool around an area you want to remove
from the selection; then repeat the process until you have finished
removing all the unwanted parts of the selection.
IT Learning Programme
37
GIMP TIMNG
2. Double-click over the name of the new layer (Pasted Layer) and
enter the new name hat.
IT Learning Programme
38
GIMP TIMNG
3. Now click once at the lower left corner of the red flesh of
the grapefruit slice, release the mouse button, move a little
way along the edge of the red flesh and click again. Continue
this process, trying to follow the edge. Notice that the segments
between the points where you clicked adapts to the edge you are
following.
Laying down the anchor points Finish selection by clicking on the Press Enter or click in the middle
first anchor point, then position of the selection path to turn the
pointer in the middle of the path into a selection
selection path
IT Learning Programme
39
GIMP TIMNG
IT Learning Programme
40
GIMP TIMNG
2. This will launch the Rotate dialog. Move this dialog so that you
can see the ear.
5. When you are happy with the angle of the ear click the Rotate
button to set the rotation.
IT Learning Programme
41
GIMP TIMNG
Edit>Transform>Flip Horizontal
Notes
IT Learning Programme
42
GIMP TIMNG
At this point, the radishes and the white background are selected.
You will now subtract the white area from the selection, resulting
in only the radishes being selected.
4. Select the Fuzzy Select Tool from the Toolbox, and then hold
down the Ctrl key. A minus sign appears with the Fuzzy Select
Tool pointer.
You can do the same with Photoshop, just remember to use Alt to
subtract from a selection.
Notes
IT Learning Programme
43
GIMP TIMNG
IT Learning Programme
44
GIMP TIMNG
IT Learning Programme
45
GIMP TIMNG
3. Select the Fuzzy Select Tool. Set the Threshold to 100 then
click on the melon to select it.
Notes
IT Learning Programme
46
GIMP TIMNG
2. Choose Select>All.
3. Choose Edit>Copy.
6. Move the plate layer down the layer stacking order until it sits
behind all of the other layers. Then use the Move Tool to move
the plate into position.
Select All, Edit>Copy, Edit>Paste
Notes
IT Learning Programme
47
GIMP TIMNG
2. Move the pointer into the image window, and drag diagonally
from the top left to the bottom right corner of the completed
artwork to create a crop area.
5. When the area is positioned where you want it, press Enter to
crop the image.
6. Choose File>Save.
Crop Tool.
Notes
IT Learning Programme
48
GIMP TIMNG
* Layer Masks
This flexibility to define the opacity of different areas of a layer is the basis for more
interesting image manipulation techniques such as selective coloring and luminosity
masking.
Open an image Steps
2. Choose File>Open...
3. Locate the file called red fruit 01.jpg and click Open.
File>Open...
Duplicate the Steps
layer
1. Right-click the red fruit 01.jpg layer and choose Duplicate
Layer.
Right-click the layer and choose Duplicate Layer...
Desaturate the Steps
duplicated layer
1. Choose Colors>Desaturate...
IT Learning Programme
49
GIMP TIMNG
• Opacity 20
• Size 80
As you paint with black colour, which makes the layer transparent,
the underlying layer becomes visible.
The process is the same in Photoshop
Notes
IT Learning Programme
50
GIMP TIMNG
* Introduction to Text
The Tool Options will change to show options for the Text Tool.
4. Click near the top left corner of the image and type “Canoes on the Dordogne”
Type Tool
Notes
IT Learning Programme
51
GIMP TIMNG
If you wish to edit your text later you will need to do two things:
Once you have clicked on the text the bounding box will appear around it and
you will be able to edit it.
3. Using the Tool Options you can change the Font, Size, Color etc.
Use the Type Tool and the Character and Paragraph panels
Initially the cursor shows an arrow, the move tool symbol and a hand.
2. Position the cursor over part of the text and it should change to show just the
move tool symbol. When you see this, click and drag to move the text.
Move Tool
Notes
IT Learning Programme
52
GIMP TIMNG
Sometimes you may need to make the same selection again later. Being able to save the
selection rather than having to manually recreate it again can save a lot of time.
In GIMP you can save any selection and reload it again later.
Open an image Steps
and create some
text 1. Open wood 01.jpg.
Text Tool
Notes
IT Learning Programme
53
GIMP TIMNG
5. Using the font options at the top of the text frame choose a bold
font such as Berlin Sans FB Bold and set the font size to about
200 pt.
Type Tool
Rasterise the text Steps
and select it
1. Right-click over the burnt wood type layer and choose
Discard Text Information.
3. Click on a letter to select it. Hold down the Shift key and select
the rest of the letters.
IT Learning Programme
54
GIMP TIMNG
2. Choose Select>None.
Select>Save Selection...
Load the selection Steps
and use it to adjust
part of the image 1. Select the Channels dialog.
3. Choose Colors>Hue-Saturation...
5. Choose Select>None.
Choose Select>Load Selection... Choose
Image>Adjustments>Hue/Saturation...
Channels dialog
Right-click here
and choose
Channel to
Selection
Notes
IT Learning Programme
55
GIMP TIMNG
TIFF format supports CMYK, RGB, Lab, Indexed Color, and Grayscale images with alpha
channels and Bitmap mode images without alpha channels.
Open an image Steps
2. Choose File>Open...
The main beneift for using LZW compression with TIFF files is to save space on your hard
drive.
IT Learning Programme
56
GIMP TIMNG
“When you are finished working with an image, you will want to save the results. (In fact, it is often a good
idea to save at intermediate stages too: GIMP is a pretty robust program, but we have heard rumors,
possibly apocryphal, that it may have been known on rare and mysterious occasions to crash.) Most of the
file formats that GIMP can open, can also be used for saving. There is one file format that is special, though:
XCF is GIMP’s native format, and is useful because it stores everything about an image (well, almost
everything; it does not store “undo” information). Thus, the XCF format is especially suitable for saving
intermediate results, and for saving images to be re-opened later in GIMP. XCF files are not readable by
most other programs that display images, so once you have finished, you will probably also want to export
the image in a more widely used format, such as JPEG, PNG, TIFF, etc.”
2. Expand the menu in the bottom left corner of the dialogue called Select File
Type (By Extension).
3. From this menu choose JPEG image and click on the Export button.
You may need to move the various dialogues out of the way to see the preview in
the window.
5. Experiment with various Quality settings by sliding the quality slider left and
right. Look to see the effect this has on both the visual quality of the image and
the file size.
6. When you have found a good balance between visual quality and file size click
the Export button to save your image as a JPEG.
File>Save for Web...
Notes
IT Learning Programme
57
GIMP TIMNG
Appendix
Bibliography
• http://en.wikipedia.org/wiki/Main_Page
Recommended reading
• http://www.gimp.org/books/
IT Learning Programme
58
GIMP TIMNG
Use the Command (or Apple) key as the Control key. Thus
Command-S will save the file. Since you cannot use the
Option key (which is marked “Alt”), because it is used to
enter symbols, this leaves the key marked “Ctrl” to serve
as the “Alt” key. If you are a regular Mac user, this is
probably the easiest way -- just remember that when the
documentation refers to the “Ctrl” key, do not use the
key with that label, but use the Apple key, and when the
documentation refers to the “Alt” key, use the key marked
“Ctrl”.
IT Learning Programme
59
Digital Images: Comfort and safety
GIMP an introduction
Carl Wenczek
IT Learning Programme
Programme
Introduction to GIMP
Setting up
Image size
The working
editing
environment
Layers
File formats
File formats File formats
GIMP - .xcf
uncompressed Best choice for master file and archiving uncompressed
Master Fully supports all GIMP features (modifiable)
No loss of image quality
Large file size
xcf
Lossless files - .tiff
All image information preserved compressed
Flatten image to create a smaller file size than PSD
alt ctrl
This presentation is made available by Carl Wenczek
under a Creative Commons licence:
Attribution-NonCommercial-NoDerivs
CC BY-NC-ND