Compression

  • Reducing of size or number of bits present in data.
  • Compression is applied in all formats like audio, video, images.


Types of Compression:


Lossless Compression:
  • Decompresses data back to its original form without any loss.
  • The decompressed file and original are identical.
        Ex:  Winzip, FLAC, Apple lossless, WMA lossless
Lossy Compression:
  • The compressed data is having some loss compare to original data is called lossy compression.
        Ex:  JPEG, JPG, GIF..etc


Audio Compression:


Video Compression:



Image Compression:



Advantages:
  • Increase the speed of transmitted data.
  • Less time taken.
  • Reduce the storage space.
  • Reduces the bandwidth of the file transmitted to another network.
Disadvantage:
  • In lossy compression some amount of data will be lost.
  • Only certain data types will compress.
My notes images: