Stubmation
Convert PDF to PNG
Convert a PDF file to PNG images
Uses
Use this task for converting a PDF file to PNG images for passing to an LLM in the gpt_chat_task.
Optional setting to set the DPI (dots per inch) for the conversion, which affects the quality and size of the resulting images.
Basic Usage
Flow Data Explained
required array
files An array of objects each containing a fileuuid
key and a filename
key. The fileuuid
is the UUID of the file in the stubber file system, and the filename
is the name of the file.
optional number
dpe The DPI (dots per inch) to use for the conversion. Higher DPI will result in higher quality images, but also larger file sizes. Default is 300.