upscayl-node
Version:
Upscale node package based on upscayl
14 lines (13 loc) • 482 B
TypeScript
import { type Driver, type UpscaleOptionsI } from '../driver';
export declare class CommandUpscayl implements Driver {
platform: string;
architecture: string;
private execPath;
private childProcesses;
constructor(architecture: string, platform: string);
upscale(imagePath: string, imageOutputPath: string, options: UpscaleOptionsI): Promise<string>;
private runCommand;
private generateArgs;
private stopChildProcess;
private eventsOnExit;
}