Samuelf80
Samuelf80

Reputation: 119

What is an example of an algorithm which uses Huffman coding only?

For example, a LZM algorithm example could be the LZMA, but the Huffman example I can't find. I understand that BWT uses it to some extent, but it uses another type of algorithm too.

Upvotes: 0

Views: 208

Answers (1)

Mark Adler
Mark Adler

Reputation: 112384

I think you mean implementation, not algorithm. Huffman coding is an algorithm.

zlib provides the Z_HUFFMAN_ONLY compression strategy, which only uses Huffman coding to compress the input. The string matching zlib normally uses is turned off with that option.

Upvotes: 1

Related Questions