Actions42
- Bulk Render Actions
- Document Actions
- Document Tool Actions
- File Actions
- Render Actions
Document Tool → Convert to Image
AI-generatedSummary
Convert PDF pages to images (PNG or JPEG) via the Autype Document Tools API.
Inputs
- fileId (required) — ID of the file uploaded via the File resource. Use File > Upload to get a file ID.
- waitForCompletion — Whether to wait for the tool job to complete before returning. Defaults to true.
- downloadOutput — Whether to automatically download the output file as binary data after completion. Only effective when waitForCompletion is true.
- toImageOptions — Options for image conversion.
Output shape
Binary download with JSON metadata or JSON job response.
If waitForCompletion is true and downloadOutput is true and the tool job completes successfully, the node returns { json: { fileName, mimeType }, binary: { data } } paired with the item. Otherwise, it returns the tool job response data as JSON paired with the item.
Examples
Example 1: Convert first page of a PDF to JPEG, wait for completion, download output.
fileId: uploaded PDF ID; waitForCompletion: true; downloadOutput: true; toImageOptions.format: jpeg; toImageOptions.pages: 1