2024-08-18 01:22:17 +00:00
|
|
|
/// <reference types="node" />
|
|
|
|
export declare class Image {
|
2024-10-27 01:47:13 +00:00
|
|
|
private prefix;
|
2024-08-18 01:22:17 +00:00
|
|
|
private thumbnailCache;
|
|
|
|
private thumbnailHash;
|
|
|
|
private blankCache;
|
|
|
|
private blankHash;
|
2024-10-27 01:47:13 +00:00
|
|
|
private tmp;
|
2024-08-18 01:22:17 +00:00
|
|
|
constructor();
|
2024-10-27 01:47:13 +00:00
|
|
|
private mktemp;
|
|
|
|
private dpx2png;
|
2024-08-18 01:22:17 +00:00
|
|
|
thumbnail(path: string, width: number, height: number): Promise<Buffer>;
|
|
|
|
blank(width: number, height: number): Promise<Buffer>;
|
|
|
|
}
|