Compression Flashcards
What is compression?
When we make file sizes smaller while trying to make the compressed file as true to the original as possible.
Why do we need compression
1) smaller files take up less storage space
2)downloading files is quicker as they take up less bandwidth
3)allows web pages to load more quickly
What are the two types of compression(2)
Lossy(1) lossless(1)
What are the benefits of lossy compression
Lossy compression permanently removes data from the file. This reduces the file size and means that the file is no longer identical to the original. However this loss in quality goes unnoticed by humans so that more files can be stored or sent.
Can’t be used on texts or files only videos as files need to retain all the information as the original or it will not make much sense.
What are the benefits of lossless compression?
Lossles compression temporarily removes data from the file. This would reduce the file size while the file can still be restored and stay identical to the original file.
This will not lose quality as the file can be restored. However there is a small reduction in file size so still take up quite a bit of space.