CustomJS (PDF & File Toolkit) icon

CustomJS (PDF & File Toolkit)

All-in-one toolkit for PDF, HTML, JSON and file conversions

Convert → PDF to PNG

AI-generated

Summary

Convert a PDF to PNG using either an incoming binary file or a URL. The node sends the PDF to the CustomJS API and returns the converted file as binary data.

Inputs

  • Input Type — Choose Binary (default) to read the PDF from an incoming binary property, or URL to process a PDF at a URL.
  • Input Binary Field (required) — When Input Type is Binary, the name of the incoming binary property to read (default: data).
  • URL (required) — When Input Type is URL, the URL of the PDF to convert.
  • Output Filename — Filename for the returned PNG binary data (default: output.png).

Output shape

A single item with the PNG in binary property data.

The output item preserves the input item's JSON and pairing. If the API returns no data or an empty buffer, the node returns the input JSON without binary data.

Links

Discussion