2

I could not find the gzip command line for generating a compressed output with a fixed/static huffman encoding ( aka BTYPE=01 in the gzip format). Can someone please help with the options i can use for this?

1 Answers1

2

There is no such option. Nor does pigz have such an option. You can write your own gzipper using zlib, which has a Z_FIXED compression strategy that can be provided to deflateInit2(). That will force the use of fixed Huffman encoding.

Mark Adler
  • 101,978
  • 13
  • 118
  • 158