Explore

Learn: Data Representation - Images
OCR GCSE J277 Computer Science specification
Ready to start this lesson?
Sign in to track your progress. 16 steps including 8 interactive questions.
Sign In to Start LearningStudents also studied
Browse allSteps in this lesson (16)
Welcome!Today we'll learn about how images are represented in computers. It's an important topic for understanding how computers store and display pictures!
What is an image?An image is made up of tiny squares called pixels. Each pixel represents a single colour and together they form the full picture. Computers store images using numbers to represent these colours.
Pixels and resolutionPixels are the smallest elements of an image. Resolution is the number of pixels in width and height. Higher resolution means more pixels, which generally makes the image clearer but increases file size.
Quick check: What does resolution refer to?
Start the lesson to answer this multiple choice question
Colour depthColour depth refers to the number of bits used to represent the colour of a single pixel. For example, 8-bit colour depth can represent 256 different colours, while 24-bit colour depth can represent millions of colours.
The {{blank0}} determines how many colours can be represented in an image. A {{blank1}} colour depth allows for more colours.
Start the lesson to answer this fill in the blank question
Metadata in imagesMetadata is extra information stored with an image, like its resolution, colour depth, and file format. Metadata helps computers understand how to display the image correctly.
What does metadata include in an image file?
Start the lesson to answer this multiple choice question
File size calculationTo calculate the file size of an image, use the formula: File size = Colour depth × Image width × Image height. For example, a 24-bit image that is 100 pixels wide and 200 pixels high would have a file size of 24 × 100 × 200 = 480,000 bits.
Match the items on the left with their correct pairs on the right
Start the lesson to answer this math equation question
CompressionCompression reduces the file size of an image. Lossy compression removes some data, reducing quality but saving space. Lossless compression keeps all data, ensuring no quality is lost.
Which of the following are true about compression? (Select all that apply)
Start the lesson to answer this multi-select question
Review Time!Great work! You've learned about pixels, resolution, colour depth, metadata, file size calculation, and compression. Let's test your understanding with a few final questions.
What is a pixel?
Start the lesson to answer this multiple choice question
Match the items on the left with their correct pairs on the right
Start the lesson to answer this matching question
Which terms are related to image representation? (Select all that apply)
Start the lesson to answer this multi-select question

Want to Learn More?
Get personalised lessons, quizzes, and instant feedback from your AI tutor.
Explore More Topics