The Travel Packing Problem

Test yourself on Compression with exam style questions, marked instantly.

Flashcards that come back just before you would forget them.

A revision plan that remembers what you know and shows what to do next.

See which topics you have nailed and which need another look.

Quiz yourself on CompressionGet your flashcardsBuild my revision planTrack my progress

The Travel Packing Problem

You're packing for a trip. Lossless packing: You vacuum-seal clothes to remove air - they're smaller but unfold perfectly. Lossy packing: You leave your winter coat home and pack a thin jacket instead - much lighter, but not quite the same. Lossless compression is like vacuum-sealing - you can get the exact original back. Lossy compression is like leaving stuff behind - the result is good enough but some detail is permanently gone. Photos, music, videos = usually lossy (you won't notice). Documents, programs, medical scans = always lossless (need exact original)!
Two rows. Lossy compression: an 800 KB picture is compressed to 200 KB and comes back blocky, because some data is lost; examples JPEG and MP3. Lossless compression: an 800 KB picture is compressed to 420 KB and decompressed back to the identical picture; examples PNG, GIF and ZIP.

Lossy compression removes some data for good, so the file is much smaller. Lossless compression removes no data, so the original comes back exactly. The terms lossy and lossless are named by OCR and Edexcel. AQA covers two lossless methods, Huffman coding and run-length encoding.

Make this stick

Signing in gives access to all PrepWise features.

PrepWise is a trading name of A3M Quality Solutions Limited, registered in England and Wales, company number 14959172. Registered office: 202 Stroud Road, Gloucester, GL1 5LA. ICO registration ZC267069.