Compression
Learning Objectives
To be able to:
- Differentiate between lossy and lossless compression
- Explain the advantages and disadvantages of each
Lossless vs Lossy
Lossless compression is a way of saving an image, so that you are saving space on your device, but you are also keeping a sharp clarity in the image.
Lossy compression will remove parts of data to save extra space, but when you open the image again, you lose some of the sharpness.
Lossless vs Lossy
What can be compressed?
Images
Sound
Video
Text
Documents
All files can be compressed, but what would happen if you used lossy compression on text?
In he gr n spec rum of echnologic l v ncemen s, he inven ion of he compu er s n s s es men o hum n ingenui y n innov ion. his m gnificen ool h s revolu ionise in us ries, cul ures n lives roun he worl .
In the grand spectrum of technological advancements, the invention of the computer stands as a testament to human ingenuity and innovation. This magnificent tool has revolutionised industries, cultures and lives around the world.
Before
After
File Types and their compression
.jpg
.ecw
.wav
.mp3
.png
.zip
.raw
Lossy
Lossless
Why?
Compression is there to allow files to become smaller to allow for easier transmission over the internet.
It also allows you to store more files on a limited drive, e.g., to allow more photos to be stored on your phone.
Benefits
Compression
By CJackson
Compression
- 109