Data needs to be moved across a network data in the most effective and efficient way as possible. To make this possible we can use compression.
What is compression?
Compression reduces the size of files so that
- Reduce download times
- Make best use of bandwidth
- Reduce storage storage requirements
There are two methods of compression
What is Lossy?
Data which is least important is removed.
This is typically used in video, image and music files where it is less likely to be noticed by humans
For example JPEG format for images
What is Lossless?
All of the data is retained when encoded so that the original file can be regenerated.