Computers don’t just deal with numbers and text – they also handle images, sound, and video. This chapter explains how multimedia is represented using binary. You’ll learn how bitmaps are built from pixels, how sound is captured using sampling, and how factors like resolution, colour depth, sample rate, and bit depth all influence file size and quality.
You’ll also discover why compression is essential for modern computing. By comparing lossy and lossless compression techniques, you’ll see how files can be made smaller while balancing quality and storage needs. These topics are key to understanding how media is stored, streamed, and shared efficiently in today’s digital world.
Images on a screen are made of thousands (or millions) of tiny squares called pixels. Each one stores colour as a binary value. This section explains how computers represent bitmap images using binary for every pixel.
Learning Objectives:
Explain how bitmap images are stored in binary.
Define pixel and its role in images.
Understand how binary values represent image data.
A bitmap image is made up of a grid of tiny squares called pixels. Each pixel represents a single point of colour on the screen. To store the image, the computer saves the colour of every pixel as a binary value. These binary values are stored in order, line by line, so the image can be accurately recreated when viewed.
The number of bits used for each pixel depends on the image’s colour depth. A very simple image, like a black and white icon, might use only 1 bit per pixel: 0 for white, 1 for black. A more detailed image – like a photograph – may use 24 bits per pixel, which allows over 16 million colour combinations. Each pixel’s binary value is stored in memory or a file, and when the image is opened, the computer reads the binary data and displays the corresponding colours.
Bitmap images can vary in file size depending on their resolution (number of pixels) and the colour depth. But no matter the complexity, all bitmap images are ultimately just long sequences of binary numbers representing colour values.
Key Terms:
Bitmap: An image made up of a grid of pixels.
Pixel: The smallest unit of an image, storing a single colour.
Binary: A system using only 1s and 0s to represent data.
Colour value: A binary code that represents a specific colour.
Grid: The arrangement of pixels in rows and columns.
Revision Focus:
A bitmap is a grid of pixels, each storing a colour
Each pixel’s colour is saved as a binary value
The number of bits per pixel is based on the colour depth
The computer reads binary data to recreate the image on screen
Add a new section to your WBK with the title of this part of the course.
Copy the questions into your WBK and answer them in full sentences.
Describe how binary values represent the colour of each pixel in a bitmap image.
What determines how many bits are used to store each pixel?
Why are bitmap images larger when colour depth or resolution increases?
GCSE Exam-style Questions
Describe how pixels and binary are used to store a bitmap image. (3)
State what a pixel is. (1)
Colour depth and resolution are key factors in how good an image looks – and how big the file is. More colours = more bits. More pixels = more data. Metadata helps the computer understand how to display the image correctly.
Learning Objectives:
Define colour depth and resolution.
Explain how they affect file size and quality.
Identify examples of image metadata.
Two important factors that affect the appearance and file size of an image are its colour depth and resolution. Colour depth refers to how many bits are used to store the colour of each pixel. The more bits per pixel, the more colours can be represented. For example, 1-bit colour depth allows only 2 colours (typically black and white), 8-bit allows 256 colours, and 24-bit allows for over 16 million colours – suitable for high-quality photographs.
Resolution is the number of pixels that make up the image, calculated by multiplying its width and height. For instance, a resolution of 1920 × 1080 means there are over 2 million pixels in the image. Higher resolution means more detail, but also results in larger file sizes because there are more pixels to store.
Metadata is additional information stored with the image. It includes the dimensions of the image, the colour depth, the file type (like .jpg or .png), and sometimes extra details like date created or author. While metadata doesn’t affect how the image looks, it’s essential for software to understand how to open and display the file correctly.
As either the colour depth or resolution increases, the file size also increases because more binary data is needed to store all the pixel information.
Key Terms:
Colour depth: The number of bits used per pixel to define colour.
Resolution: The number of pixels in an image, calculated as width × height.
Metadata: Extra information stored with an image, such as dimensions or format.
File format: The structure of how data is saved (e.g. .jpg, .png).
Image quality: The level of detail and colour range in a digital image.
Revision Focus:
Colour depth = bits per pixel → more bits = more colours
1-bit = 2 colours, 8-bit = 256, 24-bit = 16.7 million
Resolution = width × height in pixels → more pixels = sharper image
Metadata includes image size, colour depth, and file type
Higher resolution or colour depth = larger file size
Add a new section to your WBK with the title of this part of the course.
Copy the questions into your WBK and answer them in full sentences.
Compare an image with 8-bit colour and one with 24-bit colour.
How does increasing resolution affect image quality and file size?
What kind of information is stored in image metadata?
GCSE Exam-style Questions
Explain how increasing colour depth affects image quality and file size. (3)
Give two items of metadata that might be stored with an image. (2)
You’ve seen that bigger images and better colours mean more data. But how much exactly? This section gives you the formula to work out an image’s file size based on pixels and colour depth.
Learning Objectives:
Use a formula to calculate bitmap file size.
Convert between bits and bytes.
Apply to realistic examples.
To calculate how much storage space a bitmap image will use, we need to consider three things: the image’s width, height, and colour depth. The formula used is:
Width × Height × Colour depth (in bits) = File size (in bits)
This tells us the total number of bits needed to store the colours for every pixel in the image. Once you have the result in bits, you can convert it into more useful units by dividing by 8 to get bytes, and then again by 1,000 to get kilobytes (KB).
For example, a 200 × 300 image with a 24-bit colour depth is calculated as:
200 × 300 × 24 = 1,440,000 bits
Divide by 8 → 180,000 bytes
Divide by 1,000 → 180 KB
This file size represents just the pixel data. Real image files may be slightly larger due to metadata or smaller if compression is used (like JPEG). However, this formula is ideal for estimating raw uncompressed image sizes.
Key Terms:
File size: The amount of storage a file takes up.
Formula: A mathematical method for calculating file size.
Bits: The smallest unit of digital data.
Bytes: A group of 8 bits.
Kilobytes (KB): 1,000 bytes, used to measure file size.
Revision Focus:
Formula: Width × Height × Colour depth (in bits)
Convert bits → bytes: ÷ 8
Convert bytes → KB: ÷ 1,000
Used to estimate image file size before compression
Example: 200 × 300 × 24 = 180 KB
Add a new section to your WBK with the title of this part of the course.
Copy the questions into your WBK and answer them in full sentences.
Calculate the file size of a 640 × 480 image with 24-bit colour depth.
Explain each step you would take to convert bits to kilobytes.
Why is this file size only an estimate of the final saved image?
GCSE Exam-style Questions
Calculate the file size in KB of a 100 × 200 image with 24-bit colour depth. Show your working. (3)
Explain why this is only an estimate of the final file size. (2)
Sound is a wave, but computers can’t record waves directly. They take samples – regular measurements of volume – and store these in binary. The more samples and more bits, the better the sound.
Learning Objectives:
Explain how sound is recorded in digital form.
Understand how sampling works.
Describe how sound is stored using binary.
Unlike images, which are made up of pixels, sound is a continuous wave. To store sound digitally, computers must convert this wave into binary using a process called sampling. This involves taking measurements of the sound wave’s amplitude (volume) at regular time intervals – known as the sample rate.
Each of these samples is then converted into a binary number, using a fixed number of bits called the bit depth. For example, with 16-bit audio, each sample is stored using 16 bits, allowing for 65,536 possible volume levels. The more samples taken per second (higher sample rate) and the more bits used for each sample (higher bit depth), the better the quality of the sound – but this also leads to larger file sizes.
A standard example is CD-quality audio, which uses a sample rate of 44,100 samples per second and a bit depth of 16 bits. This means that every second of audio requires storing 44,100 binary numbers, each 16 bits long, per channel (e.g., two channels for stereo sound).
Key Terms:
Sampling: Measuring the sound wave at regular intervals.
Binary: A way to store information using 1s and 0s.
Amplitude: The volume or height of a sound wave.
Bit depth: The number of bits used to store each sample.
Sample rate: The number of audio samples recorded per second.
Revision Focus:
Sound is stored by sampling the wave at regular intervals
Each sample is stored as a binary number
Sample rate = number of samples per second
Bit depth = bits used per sample → affects detail
Example: CD audio = 44,100 Hz, 16-bit per sample
Add a new section to your WBK with the title of this part of the course.
Copy the questions into your WBK and answer them in full sentences.
How are sound waves converted into binary data?
What is the role of sample rate and bit depth in digital sound?
Why do we need more storage space for better-quality audio?
GCSE Exam-style Questions
Describe how bit depth and sample rate affect sound quality and file size. (3)
What is meant by the term 'sampling'? (1)
Want better sound? Record more samples per second and use more bits. Want smaller files? Reduce the numbers. There’s a trade-off between quality and size – this section shows how to calculate it.
Learning Objectives:
Define and apply sample rate, bit depth and duration.
Explain their effect on file size and quality.
Use a formula to calculate audio file size.
To calculate the file size of a digital audio recording, we need to consider how the sound is sampled and stored. Three main factors affect the size: the sample rate (how many samples are taken per second), the bit depth (how many bits are used for each sample), and the duration of the recording in seconds. If the audio is recorded in stereo, the number of channels (usually 2) is also included.
The formula used is:
Sample rate × Duration × Bit depth × Channels = File size (in bits)
For example, a one-minute CD-quality stereo recording uses:
44,100 samples/sec × 60 seconds × 16 bits/sample × 2 channels = 84,480,000 bits
Divide by 8 to get bytes: 10,560,000 bytes
Divide by 1,000,000 to get megabytes: ≈10.56 MB
Increasing any of these values improves the audio quality, but also increases the file size. This is why professional audio files are often very large, while compressed music files use tricks to shrink the data.
Key Terms:
Sample rate: The number of sound samples per second.
Bit depth: The precision of each sound sample, in bits.
Duration: The total length of an audio recording.
Channels: The number of separate audio paths (e.g. mono or stereo).
Megabytes (MB): A measure of file size, equal to 1,000,000 bytes.
Revision Focus:
Formula: Sample rate × Duration × Bit depth × Channels
Higher values = better sound quality and larger file size
Divide by 8 for bytes, then by 1,000,000 for MB
CD quality = 44,100 Hz, 16-bit, 2 channels
File size is affected by time, detail, and number of channels
Add a new section to your WBK with the title of this part of the course.
Copy the questions into your WBK and answer them in full sentences.
Calculate the file size of a 30-second mono audio file with 22,050 Hz and 16-bit depth.
How does increasing sample rate affect sound quality?
What is the impact of stereo sound on audio file size?
GCSE Exam-style Questions
Calculate the file size in MB of a 60-second stereo recording at 44,100 Hz and 16-bit depth. (3)
Explain what happens to the file size if the recording is mono instead. (2)
Big files are slow to download and take up space. Compression makes them smaller. Whether you're uploading a photo or streaming music, compression helps everything work faster and smoother.
Learning Objectives:
Define compression and its purpose.
Understand why compression is needed.
Identify examples of compressed files.
Digital files such as images, audio, and video can take up a lot of storage space. This can make them slow to upload, download, or transfer. Compression is used to reduce file sizes so that they use less memory and are easier to share. This is especially important when sending files over the internet or storing large amounts of data on a device.
Compression can be applied to many types of files, including documents, pictures, music, and programs. Some types of compression remove unnecessary detail, while others keep all the original data intact. Either way, the goal is the same: to reduce the number of bits needed to store or transmit a file.
Common examples include JPEG for images, MP3 for audio, and ZIP for compressed folders containing multiple files. Using compression not only saves space but also helps speed up website loading, streaming services, and cloud backups.
Key Terms:
Compression: The process of reducing file size.
Efficiency: Saving storage space or transfer time.
Bandwidth: The amount of data that can be transmitted at once.
Download speed: How quickly a file can be transferred over a network.
Storage: Where digital files are saved (e.g. hard drives, cloud).
Revision Focus:
Compression reduces file size to save space and speed up transfers
Can be done with or without losing quality
Makes downloads faster and storage more efficient
Common formats: JPEG (image), MP3 (audio), ZIP (files)
Add a new section to your WBK with the title of this part of the course.
Copy the questions into your WBK and answer them in full sentences.
Explain two reasons why file compression is important for digital systems.
Give examples of three types of files that benefit from compression.
How does compression improve streaming and cloud storage?
GCSE Exam-style Questions
Give two reasons why compression is important for digital files. (2)
Name one image file type that uses compression. (1)
Lossy compression removes less important data – you may not notice it’s gone. It’s great for photos, music, and video, but not ideal if you want perfect quality or need to keep all the data.
Learning Objectives:
Define lossy compression.
Describe how it reduces file size.
Recognise examples of lossy formats.
Lossy compression is a method of reducing file size by permanently removing data that is considered less important or less noticeable. It takes advantage of the way the human eye and ear work – by removing details we’re unlikely to detect. For example, in a photograph, similar colours may be merged together. In music, very quiet sounds that are masked by louder ones may be discarded.
This results in much smaller file sizes, which makes lossy formats ideal for web images, music downloads, and streaming videos. However, because some data is lost, the quality of the file is slightly reduced. In most cases, this drop in quality is so small it isn’t noticeable – but if the file is compressed too much, the loss becomes obvious.
Common lossy formats include JPEG for images, MP3 for audio, and MP4 for video. These formats are widely used because they balance good quality with small size, making them practical for everyday use.
Key Terms:
Lossy: A type of compression that removes some data permanently.
Approximation: Representing data roughly to reduce size.
Quality loss: Reduction in detail or clarity after compression.
JPEG: A common lossy image format.
MP3/MP4: Common lossy formats for audio and video.
Revision Focus:
Lossy compression removes some data permanently
Takes advantage of what humans won’t notice
Results in smaller file sizes but reduced quality
Common formats: JPEG, MP3, MP4
Add a new section to your WBK with the title of this part of the course.
Copy the questions into your WBK and answer them in full sentences.
Describe how lossy compression reduces file size using an image or audio example.
What are the advantages and disadvantages of using lossy compression?
Why is lossy compression unsuitable for storing text files?
GCSE Exam-style Questions
Explain why lossy compression is useful for streaming video. (2)
State one drawback of using lossy compression. (1)
Lossless compression keeps everything. The file is smaller, but when opened, every bit is back in place. It’s ideal for files that must be accurate, like text, code, and backups.
Learning Objectives:
Define lossless compression.
Explain how it works using repetition.
Recognise examples of lossless formats.
Lossless compression reduces file size without losing any original data. It works by identifying repeated patterns within the file and storing them more efficiently. For example, if an image has a long row of white pixels, instead of storing each pixel separately, the compression can record "100 white pixels" as a single instruction. This saves space but allows the file to be reconstructed exactly as it was before compression.
Unlike lossy methods, lossless compression does not remove any detail, so there is no drop in quality. This makes it perfect for files where accuracy is essential, such as text documents, software code, or high-quality audio recordings. When the file is opened, every single bit is restored to its original place.
Common lossless formats include PNG for images, FLAC for audio, and ZIP for compressed folders and multiple files. These formats ensure that nothing is lost in the process, which is especially important when the data must remain unchanged.
Key Terms:
Lossless: Compression that retains all original data.
Reconstruction: Rebuilding the original file from compressed data.
Patterns: Repeating data sequences used in compression.
Run-length encoding: A method of compressing repeated values.
ZIP/PNG/FLAC: Common lossless file formats.
Revision Focus:
Lossless compression keeps all original data – no quality loss
Uses patterns and repetition to save space
Ideal for files needing perfect accuracy
Common formats: PNG, FLAC, ZIP
Add a new section to your WBK with the title of this part of the course.
Copy the questions into your WBK and answer them in full sentences.
Explain how patterns are used in lossless compression (e.g. run-length encoding).
What makes lossless compression suitable for source code or text files?
Give two reasons why lossless formats are preferred for image editing.
GCSE Exam-style Questions
Explain how run-length encoding reduces file size without losing data. (3)
Name two file types that typically use lossless compression. (2)
Lossy and lossless each have their use. Want smaller music files? Use lossy. Need perfect accuracy? Use lossless. This section helps you choose the right one.
Learning Objectives:
Compare lossy and lossless compression.
Decide when to use each type.
Identify suitable formats for file types.
When choosing between lossy and lossless compression, it’s important to understand the trade-offs between file size and quality. Lossy compression creates much smaller files by removing some data permanently, which can slightly reduce quality. It’s not reversible – once the detail is removed, it cannot be recovered. This makes lossy ideal for everyday use where small size is more important than perfect quality, such as streaming music or viewing photos online.
On the other hand, lossless compression keeps all the original data and can reconstruct the file exactly. This results in larger file sizes but preserves full quality, making it suitable for files where precision matters – such as documents, code, or high-resolution images used for editing.
The choice between lossy and lossless depends on several factors:
The type of file (e.g. photo, audio, document)
Whether perfect accuracy is needed
The amount of storage space available or how quickly the file needs to be shared
Understanding when to use each method helps you manage digital media more efficiently.
Key Terms:
Trade-off: A balance between two factors, such as quality and size.
Suitability: How appropriate a method is for a specific use.
File type: The kind of data being compressed (e.g. image, audio).
Reversibility: Whether a compressed file can be perfectly restored.
Compression method: The approach used to reduce file size.
Revision Focus:
Lossy = smaller file, reduced quality, not reversible
Lossless = larger file, full quality, reversible
Choose based on file type, need for accuracy, and storage limits
Use lossy for everyday use; lossless for precision and preservation
Add a new section to your WBK with the title of this part of the course.
Copy the questions into your WBK and answer them in full sentences.
Compare lossy and lossless compression in terms of quality, size, and reversibility.
Which compression type would you use for music streaming and why?
Why might someone choose a lossless format despite its larger size?
GCSE Exam-style Questions
Compare lossy and lossless compression in terms of file size and quality. (3)
State which type is better for compressing source code and explain why. (2)
In this chapter, you learned how computers represent media using binary – from colourful bitmap images to detailed sound recordings. You explored the role of colour depth, resolution, sampling, and bit depth in affecting both quality and file size.
You also learned why compression is vital for managing media files. You compared lossy compression, which sacrifices some detail for small size, with lossless compression, which retains every bit of data. Knowing when to use each helps balance storage, quality, and performance across digital media.