GCSE · Computer Science · Edexcel · Spec 1CP2
Lossy compression
Two pictures look almost identical. One has had a big chunk of its data thrown away, for good. How is that ever a good idea?
Predict, then check
Commit to an answer first. It's the best way to make this one stick.
A photo is compressed with a lossy method, then decompressed. What do you get back?
Computer Science · Data
Is lossy a good choice here?
For each file, would lossy compression be suitable? Pick the item, then pick the category.
Still to sort
Lossy is suitable (0)
A slight loss of quality is acceptable for a smaller file.
Where the line is: Ask: does this file have to be exact, or is a slight loss of quality fine in return for a smaller file?
Lossy is not suitable (0)
The file must be exactly preserved, or the loss may be noticeable.
Where the line is: If an exact copy matters, or the loss would show, lossy is the wrong tool.
Make the call for each file, then read the reason.
WHAT YOU'VE LEARNED
A quick recap of today's lesson.
A much smaller file, with some data gone for good.
What you need to know
- Compression reduces the number of bits a file needs, using an algorithm, which is just a sequence of steps.
- A compressed file has to be decompressed before you can access it again.
- Lossy compression permanently removes some of the data to make the file smaller.
- The data it removes is unnecessary or less noticeable, like detail your eye or ear is unlikely to spot.
Have a goLossy compression is a tidy-up with one rule: bin whatever nobody will miss. Which gets binned first: detail you'd barely notice, or detail that jumps out at you?
The detail you'd barely notice.
Lossy removes data that is unnecessary or less noticeable, such as detail the eye or ear is unlikely to spot.
- Because that data is gone, decompressing only recreates an approximation. You never get an exact copy back.
- Compared with lossless, lossy generally gives a much smaller file, but it may reduce the quality.
Have a goYou need the smallest file you can get, and a slight loss of quality is fine. Lossy or lossless: which one is generally the better fit?
Lossy.
Lossy generally gives a much smaller file than lossless, with the cost that it may reduce the quality.
- Lossy doesn't always mean poor quality. The removed data is the less noticeable stuff, so a picture can look very similar.
- Lossy formats include JPEG for images, MP3 (and AAC) for audio and MP4 for video.
Have a goA classmate announces, very confidently: 'JPEG is the lossy format for songs.' Fix their sentence.
JPEG is for images. Songs use MP3 (or AAC).
Each lossy format goes with a type of file: JPEG for images, MP3 and AAC for audio, MP4 for video.
- Choosing a method depends on how accurate the data must be, how much quality loss is acceptable and how much a small file matters.
- Lossy suits cases where a slight loss is fine for a smaller file. It doesn't suit text files or an image enlarged on a very large print.
The big picture
Lossy compression makes a file much smaller by permanently removing data that is less noticeable. You can't get that data back, so decompressing only gives you an approximation. It's a trade-off, and your job is to decide when it's worth it.
Key points
Worked example
Problem
A bank wants to shrink its file of customers' account balances. A podcast team wants a smaller file for each episode. For each one, decide whether lossy compression is suitable.
⚠ Watch out
Thinking lossy compression always ruins the quality, or that you can decompress a lossy file back to the original. It removes less noticeable data, so the result can look or sound very similar, but it can never be restored exactly.
Memory hook
Lossy = lost for good. Both words start with L, so if data goes missing in a lossy file, it's lost, and it stays lost.
Check yourself
Without looking back: a friend decompresses a lossy file and says they now have the exact original. What would you tell them, and why?
Flashcards
(11)What does compression do to a file?
What has to happen to a compressed file before you can access it again?
What does lossy compression do to the data?
What sort of data does lossy compression remove?
After lossy compression, what does decompression give you?
Lossy compared with lossless: what happens to file size and quality?
Does lossy compression always give a poor-quality file?
Name a lossy format for images, one for audio and one for video.
What three things decide between lossy and lossless?
When is lossy compression a good choice?
Give two cases where lossy compression is not suitable.
Tap any card to flip it, or use Study as deck to go through them one at a time. In the full lesson these run as a spaced-repetition deck — you rate each card Hard, Good or Easy and the tricky ones keep coming back until they stick.
Learning with Lightbulb is opening soon
You can use this lesson now. Join the waitlist and we'll let you know when the full Lightbulb experience is ready.
Keep me postedMore Edexcel GCSE Computer Science topics
How this lesson was checked. This Edexcel GCSE Computer Science (specification 1CP2)lesson was published through Lightbulb Learning's human-designed editorial process — the educational standards, accuracy rules and publication checks it must pass were authored and approved by Philip Halpin. It passed subject-specific assessment, automated educational checks and technical publication verification before going live (publication checks completed 9 October 2026). Published pages are monitored, human spot-checking is ongoing across the lesson library, and anything found wrong is corrected or withdrawn. How our lessons are made and checked. Spotted a mistake? Email hello@lightbulblearning.co and we'll review it.