Types of file compression 07/30/15


Everyone using the Internet has encountered a compressed file before. If you download files form the web, it is almost impossible to miss the fact that files are generally shared in the ZIP and RAR format. Compression is necessary when storing and sharing files, because it reduces the size of the files considerably, making it easier for you to send and receive files via the web without using up a lot of bandwidth. It can be argued that file compression plays an important role in the advent of the Internet, standing at its very core, because ultimately the web is a giant network that relies on information sharing. With a good files compressor, people can reduce the size of the media they wish to share with others at the same time reducing the time required to transfer the files and the resource consumption. There are two main types of file compression lossless and lossy compression.

[Not a valid template]

File compression now and then

 

Compression is an ingenious and practical solution people found when the Internet was slow and expensive. If what we consider a small file nowadays took hours to transfer in the past, you can imagine that a files compressor was a very useful tool to have. The situation has not changed right now, when the quality and subsequently the size of our media have increased considerably, thus sharing files in their original format will also take a lot of time and space. The compression algorithms and software have also been improved drastically, making possible the reduction of a file up to fifty percent. Besides the popular ZIP and RAR file formats, you will discover numerous other archives such as TAR files, ARC files, ZPAQ files, XZ files and so on. Whether you wish to use a file compressor to store or share files, it is important to choose a tool capable of reducing the size of the files as much as possible and in a format that others can read and extract.

 

Lossless compression

 

When it comes to compression, it is important to choose the right type of compression depending on the type of the file and your specific needs. Lossless compression will remove redundant information from a file by listing it only once. When extracting the file, the information will be restored exactly like in the original file. This type of compression will not lose any information, because it uses an algorithm that allows the program to recreate the original file perfectly, because redundant information that is repeated in the file over and over again is replaced by instructions that will represent how many times the data is repeated.

 

Lossy compression

 

Lossy compression is used mainly with files that do not allow lossless compression. For instance, using lossless compression on an bitmap image is unpractical, because even though they represent the same color blue for the sky, each pixel will have its own different value and even a slight difference will make the lossless compression impossible. Reducing a bitmap file will not be very useful, because the size of the file will only change slightly. Lossy compression will allow you to reduce the size of this type of file by compromising resolution. Similar pixels will be reduced to the same value to create redundant information that gets eliminated. In other words, the sky will have the same hue unlike the original picture when each pixel differed slightly making it more clear.