Lossy vs lossless compression, run-length encoding, storage units. Jun 2023 Q5(a) and Jun 2022 Q2(e) both tested compression.
| Term | Definition |
|---|---|
| Lossy compression | |
| Lossless compression |
Jun 2022 Q3(b): "Lossy" is correct for an image that cannot be fully recreated. Jun 2023 Q5(a): lossy compression means removed data cannot be restored / original file cannot be fully recreated.
| Point | Detail |
|---|---|
| Method | |
| Example | |
| Effective for | |
| Not effective for | |
| Type |
| Unit | Size |
|---|---|
| Byte | |
| Kilobyte (KB) | |
| Megabyte (MB) | |
| Gigabyte (GB) | |
| Terabyte (TB) | |
| Tebibyte |
An image file is compressed and the original file cannot be fully recreated from the compressed version. What type of compression was used?
Give two advantages of compressing files before sending them over a network. (2 marks)
Explain why lossy compression means a file cannot be fully recreated, and describe a situation where lossy compression is appropriate and one where it is not. (4 marks)