CrImage::WEBP::HuffmanCode
HuffmanCode represents a Huffman code with its symbol, bit pattern, and depth.
Stores a single Huffman code mapping a symbol to its bit representation. WebP uses reversed bit order (LSB first).
Properties:
symbol: The value being encoded (0-255 for colors, etc.)bits: The bit pattern (reversed for WebP)depth: Code length in bits (0 = unused, -1 = single symbol alphabet)
Constructors
Instance methods
bits
Sourcedepth
Sourcesymbol
Source