UNPKG

pdf2pic

Version:

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

12 lines (11 loc) 244 B
export type Options = { quality?: number; format?: string; width?: number; height?: number; preserveAspectRatio?: boolean; density?: number; savePath?: string; saveFilename?: string; compression?: string; };