filmout_manager/dist/image/index.d.ts

15 lines
397 B
TypeScript
Raw Normal View History

/// <reference types="node" />
export declare class Image {
private prefix;
private thumbnailCache;
private thumbnailHash;
private blankCache;
private blankHash;
private tmp;
constructor();
private mktemp;
private dpx2png;
thumbnail(path: string, width: number, height: number): Promise<Buffer>;
blank(width: number, height: number): Promise<Buffer>;
}