GRAPHICS
Graphics software is used to create and edit images. You may need to create graphics for use in other digital products, such as presentations or web pages. In this chapter, you will learn about tools that are found in different applications such as Microsoft® Paint, Google Drawings and LibreOffice® Draw.
LEARNING OBJECTIVES
Explain features of image types: bitmap, vector
Create images: combining basic shapes and text, rectangles (including square), circles (including ovals), lines, triangles, arrows, text boxes
Edit images: image editing, cropping, adding captions/text, editing/deletion of unwanted aspects
How to Use This Resource (如何使用本资源)
This digital resource follows the IGCSE ICT textbook Unit 6: Graphics.
Key features:
  • English terms are shown first (英文术语优先)
  • Chinese explanations help understanding (中文说明帮助理解)
  • Use Chinese to understand, not to memorise (用中文理解,不是记忆)
  • All exam answers must be in English (所有考试答案必须用英文)

Important: Read the English term first, then use the Chinese explanation to help you understand the concept.
FEATURES OF IMAGE TYPES
Graphic software can produce two types of images:
  • bitmap images (位图)
  • vector graphics (矢量图)
Bitmap Images
Bitmap images are used for photographs and scanned documents. They are made up of small squares called pixels. Each pixel is a tiny square of one single colour. Images that use more pixels are said to be higher resolution than images that use fewer pixels, meaning that the image is a better-quality image. This is shown in Figure 16.1.
中文说明:位图是由很多像素组成的图像。照片通常是位图。放大太多时,像素会变得明显,图像会变模糊。
▲ Figure 16.1 The left side of this image uses fewer pixels than the right side of the image
Vector Graphics
  • Made of coordinates and lines
  • Do not pixelate when enlarged
  • Smaller file sizes
  • Used for logos, cartoons, technical illustrations
  • Can look unrealistic or stylised
Understanding Resolution & Pixelation (分辨率与像素化)
Resolution: The number of pixels in an image. Higher resolution means more pixels, which creates better image quality but larger file sizes.
中文说明:分辨率是图像中像素的数量。分辨率越高,图像越清晰,文件越大。
Left: A 3x3 checkerboard pattern (9 pixels)
Right: A circle drawn on a larger pixel grid (256 pixels)
▲ Figure 16.2 Using a 256-pixel grid (right) allows you to represent a circle more accurately than using a 9-pixel grid (left)
Higher resolution images require more storage than lower resolution images because data has to be stored for a larger number of pixels. This means that higher resolution images have larger file sizes than lower resolution images.

GENERAL VOCABULARY
enlarged made bigger
Pixel (像素) - A small square of colour that makes up a bitmap image.
中文说明:像素是位图中最小的颜色小方块。
Pixelation: If a bitmap graphic is enlarged, then each pixel is enlarged. This means that if the image is enlarged too much, individual pixels become visible. This is referred to as pixelation and can be seen in Figure 16.3.
中文说明:当位图被放大时,像素变得明显,这种现象叫像素化。
▲ Figure 16.3 An image will pixelate when enlarged, as the individual pixels are made more obvious

Tip: Always use high-resolution images when you plan to enlarge them. Vector graphics are better if you need to resize frequently.
VECTOR GRAPHICS (矢量图)

GENERAL VOCABULARY
co-ordinates (坐标) a set of numbers that give the exact position of a point on a map or image
stylised (风格化) drawn, written or performed in an artistic style that does not appear real or natural
Vector graphics do not pixelate when enlarged because they are made up of points or co-ordinates and lines. These are recalculated each time the image is redrawn, either by a printer or on a screen. Although vector graphics can look unrealistic or stylised when compared with bitmap images, they create much smaller files because data for each pixel does not need to be stored.
中文说明:矢量图是用形状和数学坐标创建的图像。无论放大或缩小,都不会出现像素化。
Vector graphics can be used to create image styles that are difficult to achieve in a bitmap image. For example, they are often used to create cartoons, technical illustrations and landscapes used in computer games, all of which need to be redrawn at different sizes in some way for the purposes of animation and to give the appearance of depth and movement.
Figure 16.4 shows the key difference between vector graphics and bitmap images. Because a bitmap image is made up of thousands of pixels, it pixelates when the viewer zooms in too far. The vector graphic does not pixelate because it is made of a series of simple mathematical co-ordinates, which means that, when the viewer zooms in, the image is accurately reproduced at a larger size.
▲ Figure 16.4 The differences between vector graphics and bitmap images

SUBJECT VOCABULARY
layers individual sections of the image; each layer is positioned on a separate plane of the z axis and can contain one or more elements
z axis the dimension that provides an image's depth and allows elements to appear in front of or behind other elements
CREATE IMAGES (创建图像)

HINT
Basic shapes, such as arrows, can be created by combining other shapes, such as a rectangle and a triangle, or by drawing them using lines.
When creating images, you must be able to combine basic shapes (形状) such as squares, rectangles, circles, ovals, triangles and arrows.
中文说明:基本图形,如矩形、圆形、三角形和箭头。
Although you can use specialist graphics applications, many of these shapes are also available in applications that are not obviously associated with graphics, such as Microsoft Word. For more information about the shapes available in word processing applications, see page 229. Often, you can choose from a range of basic shapes or create your own from lines. You also need to be able to incorporate lines (线条) and text, including text boxes (文本框).
Lines, shapes and text can have their fill colours altered, as shown in Figure 16.5.
▲ Figure 16.5 The square has been drawn in Google Drawings and the fill colour has been altered from blue to red
Customising Shapes
Fill Colour
Change the colour inside a shape. You can use solid colours or gradients.
Line Colour & Thickness
The colour and thickness of the outside lines defining the shape can also be altered, as shown in Figure 16.6.
▲ Figure 16.6 The square's line colour and thickness has been altered

KEY POINT
Lines surround areas that can be filled with colour. The lines themselves can also be given a colour or left uncoloured.
Figure 16.7 shows an example of the way in which basic shapes can be combined to produce an image. The basic shapes used to make the image on the left are shown on the right.
▲ Figure 16.7 An image created in LibreOffice® Draw that uses 12 basic shapes
Layers in Graphics (图层)
Layers are like transparent sheets stacked on top of each other. Each layer can contain different parts of an image. Layers help you organise complex images.
中文说明:图层就像透明的纸张叠在一起。每个图层可以包含图像的不同部分。图层帮助你组织复杂的图像。
Figure 16.8 is an example of a graphic produced using curved lines filled with colour.
▲ Figure 16.8 A graphic that uses curved lines, some of which are filled with colour; the layers show the individual elements used to create the image

SUBJECT VOCABULARY
layers (图层) individual sections of the image; each layer is positioned on a separate plane of the z axis and can contain one or more elements
z axis (Z轴) the dimension that provides an image's depth and allows elements to appear in front of or behind other elements
In Figure 16.9, you can see the list of layers as displayed in LibreOffice Draw®. This shows the individual elements used to create the image and the order in which they are placed on the z axis. In Figure 16.9, you can see that the Outline layer is on top of the Color layer on the z axis.
▲ Figure 16.9 The layers used to create the image in Figure 16.8 (this is a close-up of the feature on the right of the screen in Figure 16.8)

Tip: Use layers to separate different parts of your image. This makes editing easier because you can change one part without affecting others.
Activity: Using Shapes and Lines
01
Using shapes and lines, create your own version of the penguin graphic shown in Figure 16.7.
02
Create a logo for an ice cream company using shapes and lines.
EDIT IMAGES (编辑图像)
Image editing tools allow you to change an image in a number of ways.

GENERAL VOCABULARY:
rotate (旋转) move in a circular motion around a central point

SUBJECT VOCABULARY:
resize point (调整点) a point at which an image can be dragged to be resized
rotate point (旋转点) the pivot point around which an image can be rotated
RESIZE AND ROTATE (调整大小与旋转)
You can resize or rotate an image by clicking the image with your mouse to show its handles. These are the resize points and rotate points shown in Figure 16.10.
中文说明:改变图像的大小。围绕一个点旋转图像。
▲ Figure 16.10 Once an image is selected with the mouse, the eight handles that act as resize points and the rotate point will be visible
Distortion: What to Avoid (变形:需要避免的问题)

SUBJECT VOCABULARY
dragging moving with the mouse
aspect ratio (长宽比) the ratio of an image's width and height

GENERAL VOCABULARY
distorted (变形) twisted out of shape
proportions (比例) the relative sizes of different parts of an object or image
Resizing an image by dragging the handles in the corners of the image maintains the image's aspect ratio. However, resizing the image by dragging the handles on the sides of the image does not maintain its aspect ratio, meaning that the image appears distorted.
中文说明:图像宽度和高度之间的比例关系。图像被拉伸,原来的比例被破坏,称为变形。
▲ Figure 16.11 This image has been resized by dragging from the top or bottom, which means that it has lost its aspect ratio and has become distorted

HINT
Some applications require you to hold down the Shift key while dragging from the corner to maintain the aspect ratio and the proportions of the image.
CROPPING (裁剪)
Cropping an image means cutting off and deleting part or parts of it in order to make it a particular size or shape. For example, the image in Figure 16.12 has an original aspect ratio of 4:6. Figure 16.12 shows the image once it has been cropped to 5:7 and 8:10.
中文说明:裁剪是指删除图像中不需要的部分,使图像达到特定的大小或形状。
▲ Figure 16.12 Cropping allows images to fit different aspect ratios or to remove unwanted parts of an image

Common Use: Cropping is useful when you need an image to fit a specific space, like a profile picture or poster layout.
Activity: Cropping an Image
Skills: EXECUTIVE FUNCTION, COMMUNICATION, REASONING
01
Using the internet, find an image of a soccer match and crop the image so that it only shows the player with the soccer ball.
02
Discuss the reasons why using a high-resolution image provides a better result when cropping.
ADDING CAPTIONS AND TEXT (添加说明文字)

GENERAL VOCABULARY
caption (说明文字) a short title, description or explanation of an image
slogan (标语/口号) a short and easy-to-remember phrase, often used in advertising
Text can be added to an image. For example, you might add a caption to a photograph or add a slogan or strapline to a logo.
中文说明:用于解释图像的简短文字。标语是简短易记的短语,常用于广告。
EDITING OR DELETING UNWANTED PARTS OF AN IMAGE (编辑或删除图像中不需要的部分)
If there are areas of a bitmap image that you do not want, you can either erase them or recolour them so that they blend in with surrounding areas of the image. Figure 16.13 shows some of the tools available to do this in Microsoft Paint.
中文说明:擦除或覆盖图像中不需要的部分。可以使用颜色选择器工具选择附近区域的颜色,然后用画笔工具覆盖不需要的区域。
▲ Figure 16.13 Tools in Microsoft Paint
Most applications have a Colour Picker tool that allows you to select a colour from a nearby area of the image and then use a brush or pencil tool to cover the unwanted area with the selected colour. For example, you can remove the tower in the background of Figure 16.14 by picking the colours around it, as shown in Figure 16.15, and using a brush tool with this colour to paint over the tower, as shown in Figure 16.16. Doing this improves the image, as shown in Figure 16.17 and 16.18.
▲ Figure 16.14 The tower on top of a building on the right of this image is unwanted
▲ Figure 16.15 Using the Colour Picker to select a nearby colour
▲ Figure 16.16 Painting over the unwanted tower with the selected colour
▲ Figure 16.17 and 16.18 The improved image after removing the tower

Copyright Warning: Be careful not to breach copyright when editing images. You may not be permitted to alter some images.
Activity: Editing an Image
Skills: EXECUTIVE FUNCTION
01
Using the internet, find an image of a landscape or natural scene.
02
Open the image in a bitmap graphics editing application.
03
Find an element of the image that you would like to remove, such as a building or power line, and edit this element from the image.

HINT
Be careful that you do not breach the image owner's copyright by editing an image that should not be edited. You may not be permitted to alter the image. For more information about copyright, see Unit 3 Operating online (page 149).

GENERAL VOCABULARY
breach break a law, rule or agreement
CHAPTER QUESTIONS
1. Which one of these needs to be maintained in order to prevent an image from becoming distorted? (1)
  • A. Z axis
  • B. Aspect ratio
  • C. Rotation
  • D. Grouping
Skills: PROBLEM SOLVING
2. Explain why vector graphics do not pixelate when they are enlarged. (3)
Skills: REASONING
3. Describe how layers can be used to create an image. (2)
Skills: INTERPRETATION
4. State the name of the small elements that make up a bitmap image. (1)
Skills: REASONING
5. Give one drawback of using vector graphics to represent natural objects. (1)
Skills: REASONING
6. State two ways of removing unwanted parts of an image. (2)
Skills: INTERPRETATION