image-js
Version:
Image processing and manipulation in JavaScript
16 lines • 533 B
TypeScript
import type { BitDepth, Image } from '../Image.js';
export interface ConvertBitDepthOptions {
/**
* Image to which to output.
*/
out?: Image;
}
/**
* Convert the bit depth of an image.
* @param image - Image to convert.
* @param newBitDepth - Bit depth to convert to.
* @param options - Convert bit depth options.
* @returns Converted image.
*/
export declare function convertBitDepth(image: Image, newBitDepth: BitDepth, options?: ConvertBitDepthOptions): Image;
//# sourceMappingURL=convertBitDepth.d.ts.map