What is compression?
process of reducing the size of a data file whilst still retaining most, or even all, of the original information
Why do we compress files?
1 Less storage space required for files
2 Faster download and uploads
3 Smaller file attachments for email
4 Coping with slow links when streaming
What is a formula used for calculating the efficiency of compression or compression ratio.
compression ratio = original data size / compressed data size.
Lossy compression
File size is reduced by disregarding some of the original information,
Examples of lossy files
Music : MP3 files
Image: JPG files
Video: MP4 files