Compression

Lossless compression is a class of data compression algorithms that allows the original data to be perfectly reconstructed from the compressed data. By contrast, lossy compression permits reconstruction only of an approximation of the original data, though usually with greatly improved compression rates (and therefore reduced media sizes).
By operation of the pigeonhole principle, no lossless compression algorithm can efficiently compress all possible data. For this reason, many different algorithms exist that are designed either with a specific type of input data in mind or with specific assumptions about what kinds of redundancy the uncompressed data are likely to contain.
Lossless data compression is used in many applications. For example, it is used in the ZIP file format and in the GNU tool gzip. It is also often used as a component within lossy data compression technologies (e.g. lossless mid/side joint stereo preprocessing by MP3 encoders and other lossy audio encoders).
Lossless compression is used in cases where it is important that the original and the decompressed data be identical, or where deviations from the original data would be unfavourable. Typical examples are executable programs, text documents, and source code. Some image file formats, like PNG or GIF, use only lossless compression, while others like TIFF and MNG may use either lossless or lossy methods. Lossless audio formats are most often used for archiving or production purposes, while smaller lossy audio files are typically used on portable players and in other cases where storage space is limited or exact replication of the audio is unnecessary.

View More On Wikipedia.org
  • 597

    Greg Bernhardt

    A PF Singularity From USA
    • Messages
      19,443
    • Media
      227
    • Reaction score
      10,021
    • Points
      1,237
  • 1

    MBBphys

    A PF Atom
    • Messages
      55
    • Reaction score
      0
    • Points
      29
  • 1

    DennisN

    A PF Ocean From Scandinavia
    • Messages
      1,973
    • Media
      2
    • Reaction score
      8,073
    • Points
      391
  • 1

    g_mogni

    A PF Atom
    • Messages
      48
    • Reaction score
      0
    • Points
      31
  • 1

    PetePetePete

    A PF Electron
    • Messages
      8
    • Reaction score
      1
    • Points
      11
  • 1

    SolMech

    A PF Electron
    • Messages
      5
    • Reaction score
      0
    • Points
      11
  • 1

    clurt

    A PF Atom
    • Messages
      28
    • Reaction score
      0
    • Points
      31
  • 1

    Gem

    A PF Quark
    • Messages
      1
    • Reaction score
      0
    • Points
      1
  • 1

    Sorade

    A PF Molecule
    • Messages
      53
    • Reaction score
      1
    • Points
      58
  • 1

    1350-F

    A PF Electron
    • Messages
      16
    • Reaction score
      0
    • Points
      11
  • 1

    bhobba

    A PF Galaxy From Brisbane
    • Messages
      10,776
    • Reaction score
      3,637
    • Points
      822
  • 1

    Newb_Aero_Ninja

    A PF Quark From United Kingdom
    • Messages
      8
    • Reaction score
      0
    • Points
      4
  • 1

    RicardoGhent

    A PF Quark
    • Messages
      1
    • Reaction score
      1
    • Points
      1
  • 1

    Teacup_in_space

    A PF Quark
    • Messages
      1
    • Reaction score
      0
    • Points
      1
  • 1

    Tesla90

    A PF Electron
    • Messages
      7
    • Reaction score
      0
    • Points
      11
  • 1

    Marcus10

    A PF Quark
    • Messages
      7
    • Reaction score
      0
    • Points
      1
  • 1

    b.kiddo44

    A PF Quark
    • Messages
      3
    • Reaction score
      0
    • Points
      1
  • 1

    arpit.v

    A PF Electron
    • Messages
      8
    • Reaction score
      0
    • Points
      11
  • 1

    Teodyssey

    A PF Quark
    • Messages
      1
    • Reaction score
      0
    • Points
      1
  • 1

    kibestar

    A PF Atom
    • Messages
      16
    • Reaction score
      2
    • Points
      33
  • Back
    Top