template-project/node_modules/exiftool-vendored/dist/BinaryToBufferTask.d.ts
2025-05-30 18:13:30 +08:00

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;
}