Thanks to visit codestin.com
Credit goes to www.scribd.com

0% found this document useful (0 votes)
127 views2 pages

1.2 Worksheet 3 Answers-1

The document contains tasks related to image processing, including filling in pixel values based on a key and calculating file sizes for images of varying resolutions and color depths. It discusses the impact of image resolution on file size and the relationship between image quality and file size. Additionally, it includes tasks for creating a bitmap from a bit pattern and determining the bit pattern for a specific icon image.

Uploaded by

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

1.2 Worksheet 3 Answers-1

The document contains tasks related to image processing, including filling in pixel values based on a key and calculating file sizes for images of varying resolutions and color depths. It discusses the impact of image resolution on file size and the relationship between image quality and file size. Additionally, it includes tasks for creating a bitmap from a bit pattern and determining the bit pattern for a specific icon image.

Uploaded by

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

Answers

Task 1
1. This image uses four colours so requires 2 bits per pixel. Fill each pixel in the image as a
computer using the key.

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

10 00 00 10 00 00 10 00 00 10 00 00 00 10

10 00 00 10 00 00 10 00 00 10 00 00 00 10

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

10 00 00 10 00 00 10 00 00 10 00 00 00 10

10 00 00 10 00 00 10 00 00 10 00 00 00 10

10 00 11 10 10 10 10 10 10 10 10 10 10 10

10 11 11 10 10 10 10 10 10 10 10 10 01 01

10 10 10 10 11 11 10 10 10 10 11 11 10 10

00 00 00 00 11 11 00 00 00 00 11 11 00 00

Key: 01 00 11 10

2. Calculate the file size of the following images:

Image Number of Colour depth File size in File size in


Resolution colours in bits bits Bytes
Image 1 20 x 20 8 3 1,200 150
Image 2 10 x 10 8 3 300 37.5
Image 3 20 x 20 4 2 800 100

1
3. How does increasing the image resolution affect the file size?
Increasing the resolution will increase the number of pixels used, therefore increasing
the file size since each additional pixel will require extra binary data to store its colour
value.

4. Explain the relationship between image quality and file size.


As the number of pixels increases in the same area, the quality improves, as does the
file size. As the number of colours in an image increases, the data required to store a
greater number of colours increases, as does the quality and the 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?

11000 11111 01011 01001 01111

You might also like