Concept in Definition ABC
Miscellanea / / July 04, 2021
By Francisco Cano, in Jul. 2014
A small example of how data compression works.
Compression referring to the computing is defined as the possibility that we have to make a file take up less space in our HDD in order to optimize the space of our unit storage.
It is done by means of an encryption difficult to explain, however it can be clarified by giving a simple concept. As an example we have that if a sequence of code within a program is repeated several times the compressor only saves one and files the positions within the file where all those are located repetitions. It must be said that not all encryption is the same due to copyright, each program You can use a different form of encryption or compression, but in essence it is the one described above above.
The history of data compression comes from the first computers. The storage units were a few megabytes and it was essential to compress files within the hard disk to be able to store programs. One storage possibility was the 3 and a half-inch disks that could hold just over a megabyte of information. With the arrival of the first CD (or CD ROM) recorders this problem was solved little by little. Nowadays, files are compressed not to find space within disk drives, but to be able to
manage correctly the much information that is usually had within our these. Compression is also used to be able to send files with executables. Servers that send files do not (sometimes) support these types of executable files, because they may contain viruses. It is necessary to encode or compress them so that any virus is inactive, before its code can alter the operating system who receives it. Being compressed, any written code cannot be executed or opened and therefore cannot damage our computer equipment.Example of MP3 compression, the wave in both cases is amplified to output through the speaker.
There are many compressors and decompressors, the ideal is to use a decompressor / compressor that supports as many encodings or compressions as possible. An example: The winrar is capable of decompressing files in zip, yac and many other compression formats but it does not mean that it uses the same compression method or coding than other programs.
Compression programs can shrink a file quite a bit. However, the more we compress it (the file) the more time it will cost us to recover it.
A Format compression would be the songs in mp3. We are very used to listening to songs in this format. In the original wave, uncompressed in mp3, in CD format of music normal, the sound is much richer and clearer.