Microsoft Store
 

Lossless data compression


 

Lossless data compression is a class of data compression algorithms that allows the exact original data to be reconstructed from the compressed data. Contrast with lossy data compression.

Related Topics:
Data compression - Algorithm - Lossy data compression

~ ~ ~ ~ ~ ~ ~ ~ ~ ~

Lossless data compression is used in software compression tools such as the highly popular ZIP file format, used by PKZIP, WinZip and Mac OS 10.3, and the Unix programs bzip2, gzip and compress. Other popular formats include Stuffit, RAR and 7z.

Related Topics:
ZIP - PKZIP - WinZip - Unix - Bzip2 - Gzip - Compress - Stuffit - RAR - 7z

~ ~ ~ ~ ~ ~ ~ ~ ~ ~

Lossless compression is used when it is important that the original and the decompressed data be identical, or when no assumption can be made on whether certain deviation is uncritical. Typical examples are executable programs and source code. Some image file formats, notably PNG, use only lossless compression, while others like TIFF and MNG may use either lossless or lossy methods. GIF uses a technically lossless compression method, but most GIF implementations are incapable of representing full color, so they quantize the image (often with dithering) to 256 or fewer colors before encoding as GIF. Color quantization is a lossy process, but reconstructing the color image and then re-quantizing it produces no additional loss. (Some rare GIF implementations make multiple passes over an image, adding 255 new colors on each pass.)

Related Topics:
PNG - TIFF - MNG - GIF - Quantize - Dithering

~ ~ ~ ~ ~ ~ ~ ~ ~ ~