Compression: Making the Big Smaller and Faster

compression

Compression

Compression frees up drive space and closes up memory gaps, reducing the time needed to locate data on a drive. Speed up backups. Compressed files transfer faster and use less bandwidth than their uncompressed counterparts  

  ADVANTAGES OF DATA COMPRESSION:

  • Less disk space (more data in reality) (*)
  • Faster writing and reading (*)
  • Faster file transfer.
  • Variable dynamic range.
  • Byte order independent.

COMPRESSION TECHNIQUES:

Compression Techniques. There are two categories of compression techniquesused with digital graphics, lossy and lossless. Whilst each uses different techniquesto compress files, both have the same aim. … Lossy compression methodsinclude DCT (Discreet Cosine Transform), Vector Quantisation and Huffman coding etc.

Types Of Data Compression

  • DATA COMPRESSION 
  • LOSSLESS DATA COMPRESSION 
  • LOSSY DATA COMPRESSION 
  • HUFFMAN CODING. 
  • LEMPEL-ZIV-WELCH (LVW) COMPRESSION  etc.

EXAMPLE OF COMPRESSION

Compression crushed this can. Licensed from iStockPhoto. noun. The definition ofcompression is the action or state of being squished down or made smaller or more pressed together. When a pile of material is squished together and made smaller and more dense, this is an example of compression.       

Lossless Compression

Lossless compression basically works by removing redundancy. What does that mean? Let’s simplify things. This stack of bricks will represent our data: you can see we’ve got two red bricks, five yellow and three blue. The simplest way to represent this is as you see above: the bricks themselves. But it’s not the only way I can represent this. I could also do this.

Lossy Compression

Of course, repeatedly compressing a file using lossy methods decreases the quality – every time you do it more data is lost. Below is a photo I’ve compressed three times to demonstrate this:

how does file compression work

You can see from left to right how the quality decreases. It may not matter, depending on what the image will be used for, and that’s why lossy compression exists.

Conclusion

Compression helped make the web what it is. In the days of dialup compressed images brought photos to our browser, at least not at an acceptable speed. Compressed video makes sites like YouTube possible, and anyone who uses file sharing networks is familiar with ZIP and RAR files.

Do you have anything to add? I’m sure I’ve missed some key points so educate me (and the other readers) in the comments below.

Leave a Reply

Your email address will not be published. Required fields are marked *