gzip

Vicente González Ruiz

December 31, 2019

Contents

1 Basics
2 DEFLATE
 2.1 Lab: GZIP
References

1 Basics

2 DEFLATE

  1. Divide the input into blocks.
  2. LZ77 encode each block.
  3. Compute a Huffman tree for the offsets.
  4. Huffman encode the Huffman tree using a static probabilistic model.
  5. Huffman encode each block using an adaptive probabilistic model.

2.1 Lab: GZIP

IPython notebook

References

[1]   Peter Deutsch. DEFLATE compressed data format specification version 1.3. Technical report, 1996.

[2]   Peter Deutsch. GZIP file format specification version 4.3. Technical report, 1996.