Saturday, 17 September 2016

Compression

  • Compression is the process of reducing the size of a file by encoding its data information more efficiently.
  • By doing this the reduction is in the number of bits and bytes used to store information.
  • The compression can be done in any format like in image, video, audio, bandwidth etc.
  • Compression can save storage capacity, speed file transfer, and reduce the bandwidth when transmitting a file over a network.

How it does it works?
  • Compression technology uses algorithms to remove repetative information.
  • After compression is applied, the original information is represented by a more compact and efficient format.
  • Compressed files sent over network or by any medium.
  • After compressed data is received at the destination, it is uncompressed based on extraction algorithms and we get original data. 

Advantages of Compression:
  • The main advantage of compression are a  reduction in storage network, data transmission and communication bandwidth, and the resulting cost savings.
  • A compressed file require less storage capacity than uncompressed file.
  • File takes less time for transfer and consumes less bandwidth in network.
Disadvantages of Compression:
  • When uncompressing a file for reading, our computer uses more memory to complete the task.
  • The compressed files not able to scan it effects for viruses and other malware.
  • When you need to read the file quickly it takes time. Because uncompression process is little bit slow.
  • In some formats like video and audio if we uncompress the compressed file, it gives larger file size than original.  
Examples of Compression: