Lossless compression is a class of
data compression algorithms that allows the original data to be perfectly reconstructed from the compressed data. By contrast,
lossy compression permits reconstruction only of an approximation of the original data, though this usually improves compression rates (and therefore reduces file sizes).