Wednesday, 16 November 2016

Compression Losses

  • Compression is the elimination of data to reduce file size.
  • Elimination of pixels will happen mostly.
  • There are two types of compression.
  • 1. Loseless compression.
    2. Lossy compression.


  • In lossless compression all original data can be recovered when the file is uncompressed.
  • In lossy compression compression reduces a file by permanently eliminating certain information(we can say it as excess info).
  • In loseless all the information is completed restored(every single bit of data) when uncompressed.
  • In lossy only a part of the original information is still there when uncompressed.
  • Graphics Interchange File(GIF) is an image format used on the web that provides loseless compression.
  • JPEG image file, commonly used for photographs and other complex still images on the web that has lossy compression.
  • Lossless compression is generally used for spreadsheet files for example spreadsheet might contain finance accounts etc.
  • Lossy compression is generally used for video and sound, where a certain amount of information loss will not be detected by most users.

Image showing lossless and lossy uncompressed files.

Notes