MorphoPDF icon

MorphoPDF

Professional PDF processing - merge, split, convert, compress, protect & more

PDF to Format → PDF to Image

AI-generated

Summary

Convert PDF pages to images in PNG or JPEG format with configurable resolution, page range, and output method.

Inputs

  • Input Method (required) — Choose how to provide the input PDF file, either as binary data from a previous node or via a public file URL (URL is recommended for AI tool usage).
  • File URL (required) — Enter the public URL of the PDF file to convert when using URL input method.
  • Input Binary Property (required) — Specify the binary property name containing the PDF file when using binary input method (default is 'data').
  • Image Format (required) — Select the output image format: PNG or JPEG.
  • DPI (Resolution) (required) — Set the resolution in dots per inch for the output images (e.g., 72, 96, 150, 300, 600).
  • JPEG Quality — Adjust JPEG compression quality from 1 to 100 (higher means better quality and larger file size). Shown only when JPEG format is selected.
  • Page Range (required) — Specify pages to convert; accepts 'all', a single page (e.g., '1'), a range (e.g., '1-5'), or a list (e.g., '1,3,5').
  • Output Type (required) — Choose how to receive the converted files: as binary data attached to the output or as a temporary URL link (valid for 1 hour).
  • Output Binary Property (required) — Name of the binary property to store the output image(s) when using binary output.

Output shape

a single item with either binary data containing the image(s) or JSON with a temporary download URL

If a single page is converted, output is a single image file; converting multiple pages returns a ZIP archive. The output format and file extension reflect this. When 'Output Type' is 'URL', a download URL valid for 1 hour is provided; when 'binary', the image file(s) are included in binary data under the specified property.

Examples

Example 1: Convert all pages of a PDF from a URL to PNG images at 150 DPI and receive a download URL.

Input Method: URL; File URL: https://example.com/sample.pdf; Image Format: PNG; DPI: 150; Page Range: all; Output Type: URL

Example 2: Convert pages 1,3,5 of a binary PDF input to JPEG images at 300 DPI with 90 quality, outputting binary data.

Input Method: Binary Data; Input Binary Property: data; Image Format: JPEG; DPI: 300; JPEG Quality: 90; Page Range: 1,3,5; Output Type: Binary; Output Binary Property: data

Links

Discussion