Computer Science - 9210 OxfordAQA

Representing Images

Overview

Hold a phone screen close enough and the photograph on it stops being a photograph. What you see instead is a grid of tiny coloured squares, laid out in rows and columns, each one a flat single colour. Step back and your eye blends them into a face or a landscape. That grid is the entire secret of how a machine that stores nothing but numbers manages to store a picture: the picture is chopped into squares and each square is written down as a number.

This lesson teaches you the two measurements that describe such an image, its size in pixels and its colour depth, and shows you how those two numbers alone determine the file size. You will calculate file sizes in bits and in bytes, turn a pattern of binary digits into a picture and a picture back into binary digits, and be able to say precisely what a photographer is trading away when they choose a smaller file.

Objectives

  1. Understand what a pixel is and be able to describe how pixels relate to an image and the way images are displayed.
  2. Describe the following for bitmaps:
  3. size in pixels
  4. colour depth.
  5. Describe how a bitmap represents an image using pixels and colour depth. Describe using examples how the number of pixels and colour depth can affect the file size of a bitmap image.
  6. Calculate bitmap image file sizes based on the number of pixels and colour depth.
  7. Convert binary data into an image.
  8. Convert an image into binary data.

Mind map

This topic is mapped out so you can see how the ideas connect.

Open the mind map in the app

Lesson Note

A screen cannot draw a smooth curve. What it can do is switch several million tiny lights on and off independently, and if the lights are small enough and close enough together, a staircase of squares reads to the eye as a curve. Each of those tiny elements is a pixel, a word squeezed out of picture element. A pixel is a single point in a graphical image, and it holds exactly one colour.

Complete Note Available on the Green Bridge App

Get the Green Bridge CBT app on your phone or computer for the complete IGCSE library: past papers, mark schemes, mind maps, flashcards and audio lessons.

Full lesson notes with diagrams
AI-powered learning assistant
Timed mock exams marked the moment you finish
Available on Android, Windows, macOS, and Linux iOS app coming soon

Lesson Evaluation

Congratulations on completing the lesson on Representing Images. Now that youve explored the key concepts and ideas, its time to put your knowledge to the test. This section offers a variety of practice questions designed to reinforce your understanding and help you gauge your grasp of the material.

You will encounter a mix of question types, including multiple-choice questions, short answer questions, and essay questions. Each question is thoughtfully crafted to assess different aspects of your knowledge and critical thinking skills.

Use this evaluation section as an opportunity to reinforce your understanding of the topic and to identify any areas where you may need additional study. Don't be discouraged by any challenges you encounter; instead, view them as opportunities for growth and improvement.

  1. What does the term pixel stand for? A. Picture element B. Pixel encoding layer C. Point in colour D. Primary index Answer: A
  2. An image has a colour depth of 4 bits. How many different colours can each pixel be? A. 4 B. 8 C. 16 D. 32 Answer: C
  3. A bitmap is 10 pixels by 10 pixels with a colour depth of 8 bits. What is its file size in bytes? A. 80 B. 100 C. 800 D. 8,000 Answer: B
  4. An image is stored at 200 x 100 pixels. It is resaved at 400 x 200 pixels with the same colour depth. How does the file size change? A. It stays the same B. It doubles C. It quadruples D. It halves Answer: C
  5. An image uses exactly 5 different colours. What is the minimum colour depth needed? A. 2 bits B. 3 bits C. 5 bits D. 8 bits Answer: B

Work through these questions in the app

Work through these questions in the app

Practice Mock Questions

Want to practice mock questions on Representing Images? Download the Green Bridge CBT app to access mock questions and full practice assessments for this topic.

Download The App On Google Playstore

Everything you need to excel in your exams

Green Bridge CBT Mobile App
Personalized AI Learning Chat Assistant
200,000+ Exam Questions Across IGCSE, JAMB, WAEC & NECO
Over 3,900 Lesson Notes
Offline Support - Learn Anytime, Anywhere
Green Bridge Timetable
Literature Summaries & Potential Questions
Track Your Performance & Progress
In-depth Explanations for Comprehensive Learning