Compression Flashcards
What are the 2 types of compression?
Lossy
Lossless
What are 4 main reasons for compressing a file?
Less storage space required for files
Faster download and uploads
Smaller file attachments for email
Coping with slow links when streaming
What is the 1st equation for compression ratio?
Compression Ratio = Original Data Size / Compressed Data Size
What is the 2nd equation for compression ratio?
Compression Ratio = Original Data Rate / Compressed Data Rate
What is lossy compression?
Permanently eliminating certain information from the file
How does the algorithm for lossy compression work?
Depends on patterns being present within the information. The algorithm looks at the data, tries to identify the patterns and decides how much it can throw away without noticeably affecting the quality of the data
What are 3 common types of lossy compression for music, images and videos?
Music : MP3 files
Image: JPG files
Video: MP4 files
What is lossless compression?
The file is reduced in size, without losing any quality so the original file can be restored
What are 4 type of lossless compression files for images, audio and any other kind of file?
Images : PNG
Audio : WAV and FLAC
A very popular lossless compression format for storing any kind of file is .ZIP.
What is data streaming compression?
Means to reduce the bit rate of the video or music stream
Which type of compression is more effective at decreasing the size of a file?
Lossy Compression, because it has a higher compression ratio