UNPKG

pdf2pic

Version:

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

4 lines (3 loc) 162 B
import { ReadStream } from 'fs'; import { Graphics } from '../graphics'; export declare function getPages(gm: Graphics, pdf_path: ReadStream): Promise<number[]>;