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)
21 lines (20 loc) • 735 B
TypeScript
/** @format */
/**
* Represents a code-length symbol used in WebP encoding/decoding.
* Stores the symbol value, the number of extra bits, and the extra value.
*/
export declare class WebPClSymbol {
/** The symbol value. */
readonly symbol: number;
/** The number of extra bits associated with the symbol. */
readonly extraBits: number;
/** The extra value associated with the symbol. */
readonly extraValue: number;
/**
* Constructs a new WebPClSymbol.
* @param {number} symbol - The symbol value.
* @param {number} extraBits - The number of extra bits.
* @param {number} extraValue - The extra value.
*/
constructor(symbol: number, extraBits: number, extraValue: number);
}