CrImage::WEBP::HuffmanCode
Inherits Reference / Object
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
new(symbol : Int32, bits : Int32, depth : Int32)
SourceInstance methods
bits
Sourcebits=(bits : Int32)
Sourcedepth
Sourcedepth=(depth : Int32)
Sourcesymbol
Sourcesymbol=(symbol : Int32)
Source