03 Compression Flashcards
Effect of reducing the amount of data
Data is sent more quickly
Less bandwidth is used
Buffering is less likely
Less storage required
Lossy
Non-essential data is permanently removed
Lossless
Patterns in the data are spotted and summarised in a shorter format without permanently removing any information
Lossy compression
Removes data permanently to reduce file size
Tries to reconstruct an image without any missing data.
How does Lossless compression work
Using this pattern information, a new file can be replicated exactly without any loss of data
The reduction in file size is less than for lossy compression
Run length encoding (RLE)
A basic method of compression that summarises consecutive patterns of the same data
Works well with image and sound data where data could be repeated many times
Dictionary compression
Spots regularly occurring data and stores it separately in a dictionary