images-to-pdf
Convert images like JPG or PNG into a PDF document. Optionally merge multiple images into a single PDF with custom page size, orientation, and margins.
Instructions
Convert images (JPG, PNG, etc.) to a PDF document
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| files | Yes | Array of image file paths or URLs to convert | |
| margin | No | Page margin in pixels | |
| pagesize | No | Page size for image to PDF conversion | fit |
| outputDir | No | Output directory path | |
| mergeAfter | No | Merge all images into a single PDF (default: false) | |
| orientation | No | Page orientation | portrait |
| outputFilename | No | Custom output filename |