Lab 7 Labmanual - GIMP - 1
Lab 7 Labmanual - GIMP - 1
GIMP – Session 1
CCIT4085
Information Technology Fundamentals
Table of Contents
TABLE OF CONTENTS .............................................................................................................................. I
REMARK:
PART OF THIS SET OF MANUAL IS REFERENCED, PREPARED AND/OR EXTRACTED FROM THE MATERIALS ON
WWW.GIMP.ORG.
Page i
Exercise 1 - Basic Operations
Open an Image
Page 2
Change the Size (Dimensions) of an Image (Scale)
3. To resize the image to new dimensions, on the menu, choose Image -> Scale Image to
invoke the Scale Image dialog.
Page 3
4. In the Scale Image dialog, new values for Width and Height can be entered.
Note: The lock (the small chain) to the right of the Width and Height entry boxes means
that changing one value will cause the other to change in order to keep the original
aspect ratio.
Enter 800 as Width, and then click the Scale button.
5. To export the changes, on the menu, choose File -> Export As.
Set ``bird2.jpg” as the file name, and then click the Export button.
Page 4
6. The file size of an image could be modified when the image is exported to a format like
JPEG. JPEG is a lossy compression algorithm. When saving images to the JPEG image, we
could sacrifice some image quality to gain a smaller file size. When a quality setting of 80
is used, the image is significantly smaller in file size while the image quality is still
reasonable.
In the dialog, set the quality as 80, and then click the Export button.
Crop an Image
Cropping refers to an operation to trim the image down to a small region. Sometimes
you may want to remove useless borders or some portions of the original image.
Page 5
The Crop tool could also be called from the menu (Tools -> Transform -> Crop).
8. To start with, we can click anywhere on the image canvas, and drag the mouse to a new
location to highlight an initial selection to crop.
9. After making the initial selection of a region to crop, hovering the mouse cursor over any
of the four corners or sides of the selection will change the mouse cursor, and highlight
that region. This allows us to fine-tune the selection for cropping.
Page 6
Another way to crop an image is to make a selection first, using the Rectangle Select Tool.
The Rectangle Select Tool can also be used through the menu (Tools -> Selection Tools -
> Rectangle Select).
10. To export the changes, on the menu, choose File -> Export As.
Set ``bird3.jpg” as the file name, and then click the Export button.
Page 7
Flip an Image
11. An image can be flipped through the menu (Image -> Transform -> Flip Horizontally / Flip
Vertically).
Rotate an Image
12. Image rotation from the Transform menu is constrained to either 90 clockwise/counter-
clockwise, or 180.
Choose Image -> Transform -> Rotate 90 clockwise.
13. To export the changes, on the menu, choose File -> Export As.
Set ``bird4.jpg” as the file name, and then click the Export button.
You may also save the image as “BIRD.XCF” for further editing.
Page 8
Exercise 2 - Making a Circle-shaped
Image
1. Create a new file, and then open an image. You may choose any image file.
2. Choose Layer -> Transparency -> Add alpha channel to ensure that the layer has an alpha
channel.
3. Use the Ellipse Select Tool to create a circular selection.
Page 9
4. Choose Select -> Invert to select everything except the ellipse.
5. Choose Edit -> Clear to erase the selection.
Page 10
7. To export the changes, on the menu, choose File -> Export As.
Set ``ex2.png” as the file name, and then click the Export button.
You may also save the image as XCF for further editing.
Page 11
Exercise 3 - A Simple Logo (self-learning)
1. Create a new image of 256 x 128 pixels. (on the menu, choose File -> New)
Page 12
4. Next, use the Bucket Fill tool to fill in the image. (Tools -> Paint Tools -> Bucket Fill or click
Bucket Fill Tool button)
Page 13
6. Click the switch button to swap the foreground and background colors.
7. Select the Text Tool. (on the menu, choose Tools -> Text or click the Text Tool button.
Page 14
The typeface, font style and font size of the text can be changed on the dialog.
9. A new layer can now be created from all the visible layers (the text layer and the black
background layer).
On the Layers tab, right click the text layer and choose “New from Visible”.
Page 15
10. Apply a slight Gaussian blur to the “Visible” layer, choose Filters -> Blur -> Gaussian Blur.
12. Add a new layer by choosing Layer -> New Layer or by right-clicking the “Visible” layer
and choosing “New Layer”.
Page 16
13. Next, fill the new layer by using Filters -> Render -> Noise -> Plasma.
14. Then, the text created earlier will be used to generate a fake 3D shape on the plasma
layer. This process is known as bump mapping.
Open the Bump Map dialog by Filters -> Map -> Bump Map.
Page 17
15. Set the input layer, and then set the depth value.
16. Next, we are going to create a layer mask to isolate the bump-mapped text.
Add a layer mask to the plasma layer. (Layer -> Mask -> Add Layer Mask)
17. In the “Add a Mask to the Layer” dialog comes up, set the “Initialize Layer Mask to: White
(full opacity)”.
Page 18
18. Click the “Visible” layer in the Layers panel.
Page 19
22. To get the Floating Selection into the mask, choose Layer -> Anchor Layer to anchor the
selection down onto the mask.
23. Add a new layer above the “Visible” layer. Set the background color and fill the new layer.
Page 20
24. Choose the plasma layer. Then, choose Colors –> Levels.
25. Drag the White point slider down to increase the prominence of the plasma layer. Push
the Gamma up to emphasize it more.
Page 21
Create a Shadow
26. Duplicate the “Visible” layer by choosing Layer -> Duplicate Layer.
27. Move the newly-created layer “Visible Copy” above the background layer.
Page 23
31. Choose Filters -> Blur -> Gaussian Blur.
Page 24
33. To export the changes, on the menu, choose File -> Export As.
Set ``gimp.png” as the file name, and then click the Export button.
Page 25
AI Corner
Page 26