PDF to Images
AI-generatedSummary
Convert pages of a single PDF document from the specified binary property into individual image files in PNG or JPEG format, with configurable DPI, page ranges, and JPEG quality.
Inputs
- Binary Property (Input) (required) — Specify the binary property name on incoming items containing the PDF file data to convert.
- Image Format (required) — Choose the output image format for the converted PDF pages: PNG or JPEG.
- DPI (required) — Set the rendering resolution (dots per inch) used when rasterizing the PDF pages (range 36-600).
- JPEG Quality — For JPEG output only, define the quality of compression from 0.1 to 1 (default 0.9).
- Page Ranges (required) — String defining which pages to convert, e.g. "1,2-4" (1-based indexing, default "1-").
Output shape
a list of items, each containing one image file in the specified format representing a single PDF page
The operation expects exactly one input item containing one PDF file in the specified binary property. Each output item includes the page number in JSON and the image binary data under 'image'. If the 'canvas' native module dependency is missing, the operation throws an error with guidance on rebuilding community packages.
Examples
Example 1: Convert first three pages of a PDF named 'data' into PNG images at 150 DPI
Binary Property = data; Image Format = PNG; DPI = 150; Page Ranges = 1-3