Actions36
- HTML / URL to PDF Actions
- Sign & Watermark PDF Actions
- Screenshot Website to Image Actions
- OCR — Read Scanned PDFs & Image Actions
- Extract PDF Text & Table Actions
- PDF to Excel / CSV / Word / PowerPoint Actions
- Merge / Split PDF Actions
- Protect / Unlock PDF Actions
- Scrape Website HTML Actions
- Images to PDF Actions
- PDF to Image Actions
- Compare Document Actions
- File Management Actions
- Template Actions
Images to PDF → PNG to PDF
AI-generatedSummary
Converts one or more PNG images into a PDF document using a hosted API, supporting multiple input methods and page layout options.
Inputs
- img2pdf_input_type (required) — Method for providing images: URL(s), Base64 data, or File (binary property).
- img2pdf_urls_png — Public PNG URLs to convert (max 100). Visible only when Input Type is URL(s).
- img2pdf_base64 — Base64-encoded image payload(s); each entry becomes a page. Visible only when Input Type is Base64.
- img2pdf_binary_properties — Names of binary properties containing image files. Visible only when Input Type is File.
- img2pdf_page_size — PDF page size (A3, A4, A5, Legal, Letter, Tabloid, or Original to use native image dimensions).
- img2pdf_orientation — Page orientation (Portrait or Landscape). Hidden when Page Size is Original.
- img2pdf_fit_mode — How the image is placed: Fit (scale to fit), Fill (scale to fill/crop), Stretch (distort), or Original (center original size).
- img2pdf_margin — Uniform margin in points (0–200).
- img2pdf_output — Output format: URL (hosted for 30 days), Base64, Both, or Binary File.
- img2pdf_output_filename — Filename for the output PDF.
Output shape
A list of items, each containing a PDF file.
When Output Format is URL, the hosted link is valid for 30 days. When Output Format is Binary, the data is returned in a binary property.
Examples
Example 1: Convert a list of PNG image URLs into a single PDF file with default settings.
Input Type: URL(s); Image URLs: List of public PNG links; Output Format: URL.
Example 2: Convert Base64-encoded images into a PDF, fitting each image to an A4 page.
Input Type: Base64; Base64 Image(s): List of encoded strings; Page Size: A4; Fit Mode: Fit.
Example 3: Merge binary image files from the previous node into a PDF with a custom filename.
Input Type: File; Binary Property Names: data; Output Filename: my_document.pdf; Output Format: Binary File.