Online Learning Platform

Information Theory and Coding > Data Compression > What is Data Compression?

Data Compressin:

The act of encoding or transforming data such that it uses less memory space is known as data compression. In order to store and transport data, data compression decreases the number of resources needed

Data Compression, also known as source coding, is the process of encoding or converting data in such a way that it consumes less memory space. Data compression reduces the number of resources required to store and transmit data. 

It can be done in two ways- lossless compression and lossy compression. Lossy compression reduces the size of data by removing unnecessary information, while there is no data loss in lossless compression.

Lossless Data Compression: Without sacrificing the quality or contents of the original file, lossless data compression is utilized to compress the files. This method results in smaller files while maintaining the same level of data quality thus we may recover the original data in its original format. Lossless data compression is primarily employed in the PNG, RAW, GIF, and BMP file formats as well as sensitive papers and secret information. 

  • Run Length Encoding (RLE)
  • Lempel Ziv - Welch (LZW)
  • Huffman Coding
  • Arithmetic Coding

Lossy Data Compression: This method compress larger files into smaller files that involves the loss (removal) of a particular quantity of data by removing unnecessary information and hence lose quality from the original file. Due to the loss of original data and quality, it consumes less memory than the original file. When the quality of the data is not our top priority, this strategy is typically helpful to us. 

  • Transform coding
  • Discrete Cosine Transform (DCT)
  • Discrete Wavelet Transform (DWT)

No More

Next
What do you mean by "Codes" in data compression?
Feedback
ABOUT

Statlearner


Statlearner STUDY

Statlearner