G7 - Unit 6 - Information Technology
G7 - Unit 6 - Information Technology
Learning Objectives
Learners will learn to:
describe how analogue images are digitised
Vocabulary
pixel
colour depth
resolution
shear
perspective
Let Us Start
1
Let Us Explore
Look at the given image. Identify the difference between the two images. How can
you enhance the first image to make it appear like the second one using an
__________________________________________________________________________________________
__________________________________________________________________________________________
__________________________________________________________________________________________
__________________________________________________________________________________________
__________________________________________________________________________________________
Get, Set, Go
6.1 Digital images
Digital images are made up of a series of pixels, which are small dots in square or
circle shape arranged in a grid. Each pixel can be represented by a binary code, which
a computer processes.
A black and white image requires only 1 bit per pixel. It means that each pixel
If each pixel is represented by 2 bits, then each pixel can be one of four
2
If each pixel is represented by 3 bits, then each pixel can be one of eight
colours, corresponding to 000, 001, 010, 011, 100, 101, 110, 111.
Colour depth
The colour depth of an image refers to the number of bits used to represent each
colour. A higher colour depth means more colours can be represented, resulting in a
more realistic image, but it also requires more storage space. For example, an 8-bit
colour depth allows for 256 different colours to be represented, while a 24-bit colour
Image resolution
The number of pixels is referred to as the image resolution. A higher resolution
image has more pixels and is sharper and more detailed but requires more storage
space.
The size of an image is measured by the number of pixels it is wide (width), by the
number of pixels it is tall (height). For example, an image described as 640 x 480
pixels would be 640 pixels wide and 480 pixels tall. Therefore, there would be a grid
proprietary applications such as Photoshop. It can be used for the following tasks.
3
• touching up photos
• resizing graphics
• scanning photos
• creating logos
Step 2: Select your operating system to download the latest version of GIMP
Step 3: Click the ‘Download GIMP directly’ button to download the GIMP setup file
You can then click on the downloaded file and follow the steps to install it on your
computer.
4
Step 3: Click the Install button. The installation process starts.
Step 4: A Setup window appears after installation is completed. Click Finish. The
GIMP Window
GIMP window can be viewed in single or multiple windows. By default, it opens in the
multiple window mode. In this mode, the various panels appear as floating windows
and are not fixed inside the main GIMP window. The single window mode fixes all
floating panels inside the main windows in the left and right panes.
5
Toolbox Layers, Channel, path, Undo
Image window and History dock
Switching Windows
To switch to the single mode, click the Windows
6
6.3 Opening an image
An image file must be opened before performing editing and adjustments.
Steps to open an image
Step 1: Select FileOpen. A dialog box appears where you can choose the file to
open.
7
Image information
In GIMP, you can find the details of the image, such as the image size (width and
height in pixels), resolution (dots per inch or pixels per inch), color mode (RGB,
megabytes).
Steps to find information on an image
Step 1: Open an image in GIMP
a file in this format allows you to open it later for editing in GIMP.
Steps to save a file
Step 1: Select FileSave. A Save Image dialog box appears.
Step 2: Once the dialog box opens, enter the image name.
8
Activity 1
Open an image in GIMP. Find the image information for the image.
Selection tools
Paint tools
Transform tools.
with. These tools are commonly used for the following functions:
Restricting the areas that you are editing or painting so that we can edit or paint
You can also activate the selection tools using keyboard shortcut keys.
9
Rectangle select tool
This tool allows you to select a rectangular area of an image.
Steps to use the Rectangle Select tool
Step 1: Click the Rectangle Select tool from the toolbox or click Selection Tools
Step 3: Release the mouse once your selected area is final. You now have a selection
elliptical shape.
10
Free select tool
The Free Select tool allows you to select areas in an irregular shape.
Steps to select the area in an irregular shape
Step 1: Select the Free Select tool.
Step 2: Click at various points on the boundary of the area that you want to select.
Close your selection by connecting the current pointer location to the start location
around it. The colour range is decided by the point you click on and a threshold
value.
Step 2: To add more parts to the selection, press Shift and click on the areas to be
11
By color select tool
The By Color Select tool allows you to select areas of an image within a similar colour
range. However, unlike the Fuzzy Select tool, it will select all areas within the colour
12
Intelligent scissors select tool
This tool selects a region defined by strong colour changes at the edges.
Steps to use the Intelligent Scissors Select Tool
Step 1: Select the Intelligent Scissors tool.
Step 2: Click at the edges of the region you have to select. This creates a set of
control nodes or anchors wherever you have clicked at the edges. A continuous curve
passes through these control nodes, following any high-contrast edges it can find.
Step 3: Click the centre of the area enclosed to activate the selection.
Activity 2
Find a similar image from the internet. Use the appropriate selection tool to select
13
Drawing shapes using the selection tool
Steps to draw a circle
Step 1: Navigate to FileNew. Select the height and width of your drawing canvas.
Step 2: Click the Ellipse Select Tool and draw a circular selection.
Step 3: Select the foreground colour in which you want the shape boundary.
Step 4: Select EditStroke Selection. Choose the type of stroke (outline) and click the
Stroke button. This will give an outline to the selection, making it look like a shape.
Activity 3
Draw a square using the appropriate selection tool in GIMP.
14
Bucket fill tool
This tool is used to fill a selection with the current foreground colour. Depending on
the settings of the Bucket Fill tool options, it will either fill the entire selection or only
those parts with colours similar to the point you click on.
Steps to fill a selection with the foreground or background colour
Step 1: Create a new file in GIMP by selecting FileNew option. Select a small image
size. A white canvas area will appear in the main dock window in your GIMP.
Step 2: Select the Bucket Fill tool and position the cursor on the white area.
Step 3: Click the white canvas. In this case, it gets filled with the foreground colour
Gradient tool
A gradient is a set of colours arranged in a linear order. The gradient tool allows
filling a gradient (mix) of two colours in an area. By default, the gradient starts from
Tools.
15
Step 2: Click and drag one end of the canvas along the direction you want the blend.
Step 3: Release the mouse button. The canvas gets filled with a blend of colours from
Paintbrush tool
The Paintbrush tool paints fuzzy brush strokes. All strokes are rendered using the
currently selected brush type. You can choose the brush size, the brush stroke type,
Normally, tool options are displayed in a window attached under the Toolbox as
soon as you activate a tool. If they are not, you can access them from the image
menu bar through Windows → Dockable Windows → Tool Options , which opens
Pencil tool
The Pencil tool is used to draw freehand lines with a hard
edge. The Pencil and Paintbrush are similar tools. The main
difference between the two tools is that although both use the
same type of brush, the pencil tool will not produce fuzzy edges, even with a very
fuzzy brush.
16
Eraser tool
The eraser removes areas of colour from an image or the selected part of an image.
Steps to use the Eraser tool
Step 1: Select the Eraser tool.
Airbrush tool
The Airbrush tool acts as a traditional airbrush. It is suitable for painting soft areas of
colour. It can be used to remove imperfections in a picture by painting over that area
color.
Step 3: Set options such as brush type, size and rate in the
brush stroke.
Ink tool
The Ink tool is similar to a calligraphic ink pen with a controllable nib for painting
solid brush strokes. The nib size, shape and angle can be
Step 2: Select the type of nib from the Ink tool options.
17
Did You Know?
You can change the size of the paint tools such as Pencil, Brush, Ink, Airbrush and
Eraser by pressing the square brackets on the keyboard [ ].
Clone tool
It simply reproduces the selected portions in an image. It copies the pixels from the
selected part of an image which can then be pasted into any part of the image. The
clone tool has many uses. One of the main uses is to repair problem areas in digital
photos. This is done by “painting over” these areas with pixel data from other areas.
Steps to use the Clone tool
Step 1: Select the clone tool and press the Ctrl key to start the selection.
Step 2: Now, drag the cursor over the portions in the image you want to clone. Keep
Step 3: Now, leave the Ctrl key. Click the left mouse button and drag in the empty
place where you want to reproduce the part of the image selected. A Pointer
(crosshair) arises on the original portion of the image you selected; this pointer will
Heal tool
The Heal tool is a photo editing tool similar to Clone Tool, but it is smarter in
remove wrinkles, pimples or spots in photographs. The pixels are copied from source
to destination and the area around the destination is treated before cloning is
applied.
18
Steps to use heal tool
Step 1: Select a brush size with a suitable size adapted to the defect.
Step 2: Click on the area that you want to reproduce with the Ctrl key pressed.
Step 3: Release the Ctrl key, drag the copied sample to the defect and click. If it is a
minor defect, it will be corrected in one click; otherwise, you may have to click
Blur/Sharpen tool
Enlarged images or shaky photos can look dull and blurry. The Sharpen tool can
help make images look sharper and more polished. Blurring can be useful if some
element of your image stands out too much and you want to soften it. Blurring the
of the photograph. Pressing the Ctrl key while using the Blur/Sharpen tool toggles
Step 3: With the left mouse button pressed, drag the mouse over the required parts
of the image repeatedly. The parts of the image on which you drag the tool will get
blurred or dim.
19
Original image image with blurred flower
Smudge tool
The Smudge tool is used to smudge colours on a selection. It takes the first colour
and mixes it with the next colours it meets while dragging. This tool pushes the pixels
in the same way an artist would smudge paint around on an actual canvas. Steps to
Step 1: Select the Smudge tool and increase the rate (smudge options).
Step 2: Place the cursor over the area to be affected, hold down the left mouse
20
Dodge/Burn tool
The Dodge or Burn tool is used to lighten or darken the colours of an image. The
Dodge tool is used to make the colours lighter, while the Burn tool is used to make
Step 2: Then, with the left mouse button pressed, drag the mouse over the required
parts of the image. The parts of the images on which you drag the tool will turn
Activity 4
Collect old photographs of your family. Convert them to digital images. Use the different
paint tools and make the images better than the previous one.
21
Cropping an image
Cropping of the image allows you to remove unwanted portions of an image to
Rotating an image
The Rotate tool turns an image clockwise or anti-clockwise by a particular angle.
Steps to rotate an image
Step 1: Select the Rotate tool and click on the image or selected area of the image.
Step 2: Change the angle of rotation and click on Rotate when finalised. The selection
22
Flipping an image
The Flip tool provides the ability to flip layers (like a stack of slides) or selections
floating selection is created. You can use this tool to create reflections.
Steps to flip an image
Step 1: Select the Flip tool and click on the image or selected area of the image.
Shearing an image
Shearing means changing the shape of a 2D object along the X and Y axis. This tool
is used to shift one part of an image, a selection or a path to one direction and the
other part to the opposite direction. A horizontal shearing will shift the upper part to
the right and the lower part to the left. As a result, a rectangle can become a
diamond. So shearing is not the same as rotation; it is a tool that can distort the
image.
23
Steps to shear an image
Step 1: Select the Shear tool.
rectangular frame or a grid pops up around the selection, with a handle on each of
the four corners. By moving these handles using click-and-drag, you can modify the
perspective.
Steps to change the perspective of an image
Step 1: Select the Perspective tool. The settings of the tools become visible.
Step 2: Drag one or more square handles that appear around the image to get the
required perspective.
24
Activity 5
Open any image in GIMP. Use different transform tools and see the effects on the
image.
can use the Export command when you need your image in a different file format.
Steps to export the image in different file format
Step 1: Select FileExport As. An Export Image dialog box appears.
Step 4: Click on Export. This opens the Export Image dialog for the specified file
format. Change the quality of the export if required and click on Export.
25
Unit Review
1. Digital images are made up of a series of pixels, which are small dots in square or
2. The colour depth of an image refers to the number of bits used to represent each
colour.
4. GIMP stands for GNU Image Manipulation Program, a free and open-source
6. A file is saved in GIMP with the extension .xcf. This is GIMP's native file format.
7. The GIMP toolbox can be classified into Selection, Paint, and Transform tools.
8. Selection tools enable you to select the specific part of the image you want to
work with.
10. The Transform tools allow us to rotate, scale down or scale up, stretch or skew,
change the perspective, create a mirror image, crop or cut specific areas and
11. The Export command is used to save your image in a different file format.
1. Which of the following options correctly defines the smallest unit of information
in a digital image?
a. Resolution
b. Pixel
c. Colour depth
d. Bit
26
2. Which of the following statements about colour depth is true?
3. Which of the following GIMP tools can be used to flip the image?
a. Selection tools
b. Paint tools
c. Transform tools
d. All of these
4. Which window mode fixes all floating panels inside the main windows in the left
c. Both a. and b.
a. .jpg
b. .png
c. .gif
d. .xcf
27
Lab Activity
1. Draw any two geometrical shapes using selection and paint tools.
Use the ink tool to write the name of the shape inside it
2. Take your family photo. Convert it to a digital image. Change the background
https://www.gimp.org/tutorials/ https://www.youtube.com/watch?v=w0quo4S8Oqw
28