Compression
4 articles- Compression★★
Compression reduces the size of files by encoding the data more efficiently. There are two main types: lossless compression, which preserves every bit of data, and lossy compression, which permanently removes some data to achieve smaller sizes.
- Lossless Compression★★
Lossless compression reduces file size without losing any data, allowing the original file to be perfectly reconstructed.
- Lossy Compression★★
Lossy compression reduces file size by permanently removing some data, achieving much smaller files at the cost of some quality.
- Run-Length Encoding★★
Run-Length Encoding (RLE) is a simple lossless compression method that replaces consecutive repeated values with a count and a single value.