Actions114
- AI Actions
- AI Advanced OCR
- Check Content Policy
- Detect Adult Content
- Detect Brand
- Detect Color
- Detect Email Type
- Detect Faces
- Enitity Detection
- Extract Contact Information
- Extract Customizable Information From Text
- Fuzzy Text Matcher
- Generate Image
- Generate Javascript Code
- Generate Python Code
- Language Detection
- Mood Detection
- PDF OCR
- Picture Object Recognition
- Picture Text Recognition
- Redact Sensitive Information From PDF
- Too Long To Read
- Transcribe
- Translation
- Business Actions
- Calculate Actions
- Code Actions
- Convert Actions
- Crypto Actions
- Date & Time Actions
- Generate Actions
- Image Actions
- Operator Actions
- PDF Actions
- Storage Actions
- Text Actions
- User Actions
PDF → PDF to Image
AI-generatedOverview
This node operation converts PDF files into images. It supports inputting the PDF either via a public URL or as binary data (buffer). Users can specify the filename of the PDF and optionally select specific pages to convert. This operation is useful for scenarios where visual representation of PDF content is needed, such as generating thumbnails, previews, or extracting images from PDF documents.
Use Case Examples
- Convert a PDF from a URL to an image for preview in a web application.
- Convert a PDF stored as binary data in a workflow to images for further processing or display.
Properties
| Name | Meaning |
|---|---|
| Code Variables | Allows setting code variables defined in the code editor for the selected function, useful for dynamic input values. |
| Filename | Filename of the PDF file to be processed. |
| URL or Binary Data | Specifies whether the PDF input is provided as a URL or as binary data (buffer). |
| URL | Public URL of the PDF file, required if input type is URL. |
| Binary Data | Buffer of the PDF file, required if input type is binary data. |
| Pages | Pages inside the PDF file to convert, optional and applicable when input is binary data. |
Output
JSON
imageData- The resulting image data converted from the PDF.fileName- The filename associated with the output image.
Dependencies
- Requires an API key credential for the CodeKit API to perform the PDF to image conversion.
Troubleshooting
- Ensure the input PDF URL is publicly accessible if using URL input type.
- Verify that the binary data buffer is correctly formatted and represents a valid PDF file.
- Check that the filename is provided if required by downstream processes.
- Common errors may include invalid PDF format, inaccessible URL, or missing required parameters. Verify all inputs before execution.