UNPKG

pdf2pic

Version:

A utility for converting pdf to image formats. Supports different outputs: directly to file, base64 or buffer.

3 lines (2 loc) 125 B
import { ReadStream } from 'fs'; export declare function convertToStream(source: string, file: string | Buffer): ReadStream;