UNPKG

image-in-browser

Version:

Package for encoding / decoding images, transforming images, applying filters, drawing primitives on images on the client side (no need for server Node.js)

18 lines (17 loc) 591 B
/** @format */ import { HuffmanTablesSegment } from './webp-huffman-table-segment.js'; /** * Represents a collection of Huffman table segments for WebP decoding. * Manages the root segment and the current working segment. */ export declare class HuffmanTables { /** Root segment of the Huffman tables chain */ root: HuffmanTablesSegment; /** Currently active segment in the chain */ currentSegment?: HuffmanTablesSegment; /** * Initializes Huffman tables with a given size. * @param size Number of codes in the table */ constructor(size: number); }