UNPKG

pdf2pic

Version:

A utility for converting pdf to image and base64 format.

6 lines (5 loc) 411 B
/// <reference types="node" /> import { Graphics } from "../../graphics"; import { WriteImageResponse } from "../../types/writeImageResponse"; import { ToBase64Response } from "../../types/toBase64Response"; export declare function bulkConvert(gm: Graphics, source: string, filePath: string | Buffer, pageNumber?: number | number[], toBase64?: boolean): Promise<WriteImageResponse[] | ToBase64Response[]>;