What is it, How does it work, and why do we need it?
What is Compression?
What are the types of compression?
Lossy is where data is simply removed from the file. Data that is less likely to be noticed by human senses is normally removed. Lossy can lead to considerable Change in quality with certain files.
Lossless is where unnecessary data or duplicate data is recorded, removed and the recreated at the receiving end. This leads to no change in quality, and the compressed data cam be retrieved.
Why are files compressed on the web?
This is a high resolution picture of a cat, I am now going to compress the image.
The picture has lost some considerable quality due to the compression.