Actions35
- Archive Actions
- Audio Actions
- Document (PDF) Actions
- Image Actions
- Image Store Actions
- Job Actions
- OCR Actions
- Sign Actions
- Video Actions
Image → Convert PDF
AI-generatedSummary
Convert a specified page of a PDF document to an image using either a PDF URL or binary PDF input.
Inputs
- PDF URL — URL of the PDF to convert. If left empty, the node uses binary input from the specified binary property.
- Binary Property — Name of the binary property containing the PDF file if PDF URL is not provided. Defaults to 'data'.
- PDF Options — Options to customize the PDF conversion, including page to render (0-based), density in DPI (72-300), output image format (JPEG, PNG, WebP), quality (1-100), and output width in pixels (0 to keep original width).
Output shape
binary data containing the rendered image of the specified PDF page
Returns the rendered page as a binary image file. The image MIME type and extension depend on the chosen format option. If a PDF URL is provided, the node fetches and converts that PDF; otherwise, it uses the binary PDF data from the specified binary property.
Examples
Example 1: Convert the first page of a PDF from URL to a JPEG image at 150 DPI and 90% quality
Set 'PDF URL' to the PDF's URL, 'PDF Options' to density=150, format=jpeg, quality=90, page=0
Example 2: Convert the third page of a binary-uploaded PDF to a PNG image keeping the original width
Leave 'PDF URL' empty, set 'Binary Property' to the binary input property name, 'PDF Options' to page=2, format=png, width=0