Installation
npm install --save @types/heic-convert
Summary
This package contains type definitions for heic-convert (https://github.com/catdad-experiments/heic-convert).
Details
Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/heic-convert.
interface ConversionOptions {
buffer: ArrayBufferLike;
format: "JPEG" | "PNG";
quality?: number;
}
interface Convertible {
convert(): Promise<ArrayBuffer>;
}
declare function convert(image: ConversionOptions): Promise<ArrayBuffer>;
declare namespace convert {
function all(image: ConversionOptions): Promise<Convertible[]>;
}
export = convert;
Additional Details
- Last updated: Tue, 07 Nov 2023 03:09:37 GMT
- Dependencies: none
Credits
These definitions were written by Tregan.