..
Among the most common operations that can be useful even for unskilled users identify definitely compression. Through this transaction in fact, any file on your computer can be restored, so as to occupy a portion of memory than hard disk. We observe however that, currently, there are large capacity hard drives available at prices fairly low, so the usefulness of compression programs would appear to shrink. But this is a hasty conclusion.
In fact, for example, may be interesting to compress one or more files before sending via email, to reduce the time of reception and transmission. Interesting and practical addition also the ability to store multiple documents into a single compressed file, more practical to transmit and manipulate.
But what are the main options available to users to compress a file or files? What distinguishes the various software available? Let us examine first the theoretical foundation of software compression, thus illustrating the main features of compression algorithms.
A first distinction among the compression algorithms can be identified between lossless algorithms, ie without any loss of quality and lossy algorithms, in which the reduction of disk space is accompanied by a loss of quality. It is often difficult to perceive a deterioration in quality: for example in the case of the mp3 encoding for audio files.
Among the most widely used algorithms identify without doubt the 'Huffman algorithm, the' Shannon-Fano algorithm and 'algorithm Lempel, Ziv and Welch. While not going into theoretical explanations, we examine the main characteristics of 'Huffman algorithm, which has marked the history of compression techniques.
We refer readers interested in further details on the techniques of Shannon-Fano and Lempel-Ziv-Welch links to more specific about this topic:
'S algorithm belongs to the category Huffman lossless, ie does not introduce any loss of quality. We scomporne operation in five elementary steps:
From the algebraic sum of the space gained by encoding short of the most frequent and space lost with the encoding of the most rare long you get the compression ratio produced by 'Huffman algorithm. From the above it follows that this type of compression is more effective the wider the frequency differences of the components of the original file, while poor results are obtained when the distribution of the elements is uniform.
| |
HTML (Course)
The markup language for the Web from 29 €. |
| |
Webmaster Advanced (Course)
Become a professional Webmaster. From 39 €. |
| |
Webmaster Base (First)
Create a Web site from scratch. Starting from 29 €. |