0% found this document useful (0 votes)
14 views13 pages

2.2 Characters and Images

Uploaded by

peterjones.mdx
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PPTX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
14 views13 pages

2.2 Characters and Images

Uploaded by

peterjones.mdx
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PPTX, PDF, TXT or read online on Scribd
You are on page 1/ 13

UNICODE

Unicode is an
alternative
encoding system. It
uses 16 bits to
encode each
character and is
therefore able to
represent far more
characters than
ASCII (over 65,000).
BITMAP IMAGES
Images can be represented using a grid of squares
called pixels. Each pixel can be uniquely identified by its
position in the grid (x/y coordinates) and each pixel is a
single colour.
ACTIVITY 4
Question Answer

What is a bitmap
image?
ACTIVITY 5A
Open a bitmap image in Fireworks, double the size and save
it under a new name. Compare the file sizes of the two
versions.

Question Answer
Compare the file
Version 1:
sizes of the two
Version 2:
versions.
Compare the
clarity of the two
images. Which is
clearer?

Why do you
think this is the
case?
ACTIVITY 5B
Reopen the original image, reduce its color depth and
preview it.

Question Answer

Summarise what
happens as the
colour depth
decreases.
COLOUR DEPTH
A binary code is used to represent the colour of a pixel. The
number of bits used to store each pixel’s colour is known as
the colour depth. The greater the colour depth, the more
colours can be represented.
The number of colours that can be represented can be
calculated using 2depth. For example a colour depth of 1 bit
can represent 2 colours.

2 no. of bits

Therefore 3 bits = 23
ACTIVITY 6
Complete the table below:

Colour
Number of colours Range
depth

1 bit 2 0–1

2 bits

3 bits

4 bits

8 bits

16 bits

24 bits

32 bits
1 BIT IMAGES
This image has only two colours, black and white and is
therefore has a colour depth of 1 bit. 1 = white and 0 =
black.

1,0,0,0,1
1,1,1,1,0
1,0,0,0,0
0,1,1,1,0
0,1,1,1,0
1,0,0,0,0
ACTIVITY 7
Fill in the grid to reveal what character this code produces (0 = black and
1 = white)

Binary
code

0000

0111

0111

0001

0111

0111

0000
ACTIVITY 8
Produce the binary code to produce the letter G in the grid below (0 =
black and 1 = white)

Binary
code
RESOLUTION AND FILE SIZE
The resolution or pixel density of an image is the number of
pixels per inch (PPI). Generally speaking the higher the
resolution the higher the quality of the image.

You can calculate the amount of storage space required to


save an image using the following formula:

(height x resolution) x (width x resolution) x colour


depth / 8
Question:
Calculate the filesize of an
image with dimensions of 2
inches x 3 inches, a resolution
of 200 PPI and a colour depth
of 4 bits.
ACTIVITY 9
Calculate the file size of an image with dimensions of 3 inches x 4 inches,
a pixel density of 300 pixels per inch and a colour depth of 8 bits. Give
your answer in bytes.

Hint: The formula for calculating the file size of a bitmap image is (height
x pixel density) x (depth x pixel density) x colour depth and there are 8
bits in a byte.
ACTIVITY 10
Calculate the file size of an image with dimensions of 5 inches x 7 inches,
a pixel density of 400 pixels per inch and a colour depth of 3 bits. Give
your answer in bytes.

You might also like