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) • 730 B
TypeScript
/** @format */
import { InputBuffer } from '../common/input-buffer.js';
import { BmpDecoder } from './bmp-decoder.js';
import { BmpInfo } from './bmp/bmp-info.js';
/**
* Class representing a DIB (Device Independent Bitmap) Decoder.
* Extends the BmpDecoder class.
*/
export declare class DibDecoder extends BmpDecoder {
/**
* Creates an instance of DibDecoder.
* @param {InputBuffer<Uint8Array>} input - The input buffer containing the bitmap data.
* @param {BmpInfo} info - The bitmap information.
* @param {boolean} [forceRgba=false] - A boolean indicating whether to force RGBA output. Defaults to false.
*/
constructor(input: InputBuffer<Uint8Array>, info: BmpInfo, forceRgba?: boolean);
}