GCSE · Computer Science · OCR · Spec J277
Lossy compression
What if making a file smaller meant throwing part of it away for good, and you might never notice it had gone?
Predict, then check
Commit to an answer first. It is more fun when you are wrong.
An image is compressed with lossy compression and then decompressed. What do you get back?
WHAT YOU'VE LEARNED
A quick recap of today's lesson.
Shrink a file by throwing some of its data away for good, and see why you may not miss it.
What you need to know
- Compression reduces a file's size. Lossy and lossless are two compression methods.
- Lossy compression permanently removes some data from the file to reduce its size.
Have a goYour friend says: 'Lossy just hides some of the data and shows it again later.' Is that what lossy does?
No. The data is permanently removed, not hidden.
Hidden data could come back. Permanently removed data cannot, and that single word is what separates lossy from a clever hiding trick.
- Gone for good means a lossy file cannot be restored exactly. Decompression recreates only an approximation.
- The data removed is considered less important or unlikely to be noticed by humans.
- So the loss may not noticeably affect the perceived quality of the file.
- JPEG (images), MP3 (audio) and MP4 (video) are all lossy formats.
Have a goMatch each file to its lossy format: a holiday video, a favourite song, a photo of your dog.
Video: MP4. Song: MP3. Photo: JPEG.
MP4 is the lossy format for video, MP3 for audio and JPEG for images.
- Lossy generally gives a much smaller file, but may reduce quality and is not fully reversible.
Have a goA classmate says lossless gives the much smaller file. Which method does, and what can it cost you?
Lossy does. It may reduce quality and is not fully reversible.
Lossy gives the generally much smaller file by throwing data away, and that is exactly why it can cost quality and cannot be fully reversed.
- Lossless keeps all the data, preserves quality and can be reversed exactly.
The big picture
Lossy compression makes a file smaller by permanently removing some of its data, so the original cannot be restored exactly and decompression recreates only an approximation. The data removed is considered less important or unlikely to be noticed by humans, so the perceived quality may not change noticeably. JPEG, MP3 and MP4 are lossy formats, and lossless compression is the opposite: it keeps all the data.
Key points
Worked example
Problem
Aisha saves a song as an MP3. It sounds fine to her, so she says: 'Decompressing it will give me back the exact original recording.' Is she right?
⚠ Watch out
Thinking lossy means the file is visibly or audibly damaged. It removes data considered less important or unlikely to be noticed, so the perceived quality may not noticeably change. The removed data is still gone for good.
Memory hook
Lossy means lost: some data is lost for good, and lost data never comes back. The trick is that it was chosen so you may never miss it.
Check yourself
Without looking back, say what lossy compression does to the data in a file, what decompression gives you afterwards, and why you may not notice the difference.
Flashcards
(8)What does lossy compression do to a file's data?
Can a lossy-compressed file be restored exactly to the original?
What sort of data does lossy compression remove?
Why can a lossy file still look or sound fine?
Name the lossy format for each: images, audio, video.
Which gives the generally much smaller file: lossy or lossless?
What is the price of lossy's much smaller file?
What does lossless compression do with the data?
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 OCR GCSE Computer Science topics
How this lesson was checked. This OCR GCSE Computer Science (specification J277)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 14 November 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.