12 lines
479 B
TypeScript
12 lines
479 B
TypeScript
import { ExifToolTask, ExifToolTaskOptions } from "./ExifToolTask";
|
|
/**
|
|
* Task that returns an error string (to prevent retries), or undefined if
|
|
* everything seems to have worked.
|
|
*/
|
|
export declare class BinaryToBufferTask extends ExifToolTask<Buffer | Error> {
|
|
readonly tagname: string;
|
|
private constructor();
|
|
static for(tagname: string, imgSrc: string, options?: ExifToolTaskOptions): BinaryToBufferTask;
|
|
parse(data: string, err?: Error): Buffer | Error;
|
|
}
|