1. Image preview
2. Change the image
Change the settings to see the difference.
KS3 Computing — investigate resolution, colour depth and image quality
Digital images are made from pixels. The amount of information stored in an image affects its file size.
Use the controls below to investigate what happens when you change the resolution, colour depth and JPEG quality.
Your challenge is to find out how to make an image use as little storage space as possible while still looking good.
Change the settings to see the difference.
Resolution is the number of pixels used to make up an image.
A higher resolution normally means more detail, but also means more pixels need to be stored.
Colour depth is the number of bits used to store the colour of each pixel.
More bits allow more possible colours.
Compression reduces the amount of data needed to store an image.
JPEG uses lossy compression. This means some information is removed to make the file smaller.
Set the colour depth to 24 bit and JPEG quality to 90%. Start with 640 × 480.
Now reduce the resolution one step at a time. Record what happens to the file size and image quality.
Set the resolution to 640 × 480. Try 1 bit, 4 bit, 8 bit, 16 bit and 24 bit colour.
What happens to the image as the colour depth increases? What happens to the file size?
Set the resolution to 640 × 480 and colour depth to 24 bit.
Move the JPEG quality from 100% down to 10%.
Watch both the image and the file size.
At what point do you begin to notice a significant reduction in image quality?
An image is 800 × 600 pixels and uses 24-bit colour.
How many pixels does the image contain?
How many bits would be needed to store the pixels if there was no compression?
Show your working.
You need to send a photograph by email. You want the image to look good but the file must be as small as possible.
Choose settings that you think would be suitable.
Explain why you chose them.
Can you create an image that is less than 50 KB but still looks good?
Experiment with resolution, colour depth and JPEG quality.
Record the settings you used.
Remember these three important ideas:
The answer from this calculation is in bits. To convert bits into bytes, divide by 8.