What is compression
Compression is reducing the amount of data.
What kind of compression is there?
Lossy and lossless
What is lossy compression?
Compressing a file by deleting some of the data that is not very crucial.
• Some data is permanently lost when compressed
• Good for compressing things where some quality can be sacrificed – e.g. a photo or a song
What is lossless compression?
Lossless compression works by recording patterns in the data rather than the data itself.
• No data is lost through compression
• Good for compressing things such as code files where data cannot be removed
What is RLE?
What is the dictionary?