exiftool-vendored
Version:
Efficient, cross-platform access to ExifTool
12 lines (11 loc) • 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;
}