Year 8 · Computing · Binary and data · Lesson 4
Images as data
How images are stored as data: pixels, bitmaps, colour depth, resolution, metadata and calculating image file size.

19-minute video lesson
Teaching, worked examples and 20 practice questions solved step by step.
Watch free for a monthWhat your child will learn
- Explain pixels and bitmaps
- Work out colours from colour depth
- Explain resolution
- Calculate image file size
- Explain metadata
The method
- Find width and height in pixels.
- Find the colour depth.
- Multiply width × height × depth.
- Divide by 8 for bytes.
Key words: pixel, bitmap, colour depth, resolution, file size, metadata, pixelation.
Worked examples
The first three practice questions from the lesson, with every step.
Question 1
What does ‘pixel’ stand for?
- Step 1: Picture element
Answer: Picture element
Question 2
In a 1-bit image, what do 1 and 0 usually mean?
- Step 1: 1 = black, 0 = white (or the other way)
Answer: Black and white (1 = black, 0 = white)
Question 3
How many colours does 2-bit colour depth give?
- Step 1: 2 × 2
Answer: 4