What is a compression algorithm?

Computer files can occupy a large amount of space on your hard disk and a lot of bandwidth. To store the location, especially for files that are often not accessible and the width of the transmitted files, the storage methods have been developed to store data into a smaller package by compressing. In any case, a compression algorithm is used - a method to reduce data size -. There are several popular categories and types of compression algorithm, each of which works in a different way and some of them have results that differ in an important way. Using different compression algorithms, it is generally possible to reduce the text file to less than half the original size; For graphics files, the results differ greatly. A file resulting from compression may be either a different format or an archive file that is often used for storage, transmission and distribution.E dictionary or statistical methods of compressing data. The dictionary method focuses on repeatable phrases and is used in GIF and Archive imagesCH containers and zipper. The statistical method relies on the frequency of use to perform a conversion that is performed in two passages. The example is modified by Huffman (MH), used in some fax machines.

The second way to categorize compression algorithms and the one that unprofessional programmers most often encounter is whether they are lossless or lossy. The lossless data compression algorithm is one of the data compressing in such a way that when it is decompressed, it is exactly the same as the original file. One example of the algorithm of the wicked data compression is LZW (algorithm Lempel-Ziv-Welch). He developed Lempel and Ziv in 1977 and improved in 1984 Welch, used in files such as GIF, TIF and PDF, as well as in some modems.

Loss of dataalgorithm Sion has a capacity to reduce data to a smaller size than lossless compression, but at the cost of some original data. OtherIn words, renewal after compression for data loss does not give an identical copy of the original file. However, the compression algorithm is designed to limit the losses so that they are not visible for the ear or eye. Loss of compression is used in file formats such as AAC, JPEG, MPEG and MP3.

IN OTHER LANGUAGES

Was this article helpful? Thanks for the feedback Thanks for the feedback

How can we help? How can we help?