You are on page 1of 3

Section 2: Images, Sound and Compressiona

Lesson 1:
Worksheet 4: Data representation of images
Task 1
1. This image uses four colours so requires 2 bits per pixel. Shade in the image as a
computer would, using the key below.

10 10 10 10 10 10 10 10 10 10 10 10 10 10

10 00 00 10 00 00 1001 0000 0011 1010 00 00 00 10


Key:
10 00 00 10 00 00 10 00 00 10 00 00 00 10
2. Calculate the
10 10 10 10 10 10 10 10 10 10 10 10 10 10
file size of the
10 00 00 10 00 00 10 00 00 10 00 00 00 10 following
images:
10 00 00 10 00 00 10 00 00 10 00 00 00 10
Image Number of Colour depth File size in File size in
10 Resolution
00 11 10 10colours
10 10 10 10 10 10
in bits 10 bits
10 10 Bytes
Image 1 10 20 x1120 10
11 10 8
10 10 10 10 3 10 10 10 150
01 01 18.75
Image 2 10 10 x1010 10
10 11 8
11 10 10 10 3 10 11 11 37.5
10 10 4.6875
Image 3 00 20 x0020 00
00 11 4
11 00 00 00 2 00 11 11 100
00 00 12.5
Section 2: Images, Sound and Compressiona
3. How does increasing the image resolution affect the file size?

Increasing the image resolution therfore increases the file size as there is more data needed to
be stored

4. Explain the relationship between image quality and file size

Task 2
1. Using the following bit pattern, shade in the pixel grid to create a black and white bitmap
to create an image where black = 1 and white = 0: 00100 01110 11111 00100 01100

2. What is the bit pattern for the following icon image where black = 1 and white = 0?
Section 2: Images, Sound and Compressiona

Task 3
Complete Q 14 on page 27 to calculate file size.

You might also like