PDF Tools
JPG to PDF
jpg-to-pdf
Use JPG to PDF through the Zavilo SDK. Check input limits, parameters, output and supported modes below.
H · Headless
Quick actions
Input files 1–30Output files 1
Input
Accepted input contract for this Tool.
| Kind | file |
|---|---|
| File count | 1 – 30 |
| Accepted MIME types | image/jpeg |
Parameters
Pass these values through request.options.
| Parameter | Type | Required | Default | Allowed / Range | Description |
|---|---|---|---|---|---|
| None | |||||
Output
Result contract returned after successful processing.
| Type | files |
|---|---|
| File count | 1 – 1 |
| MIME types | application/pdf |
| Metadata | inputCount, pageCount, inputBytes, outputBytes |
| ZIP archive | No |
Basic usage
Choose a supported integration mode and copy the generated starter code.
Headless
const result = await client.run("jpg-to-pdf", {
files: selectedFiles
});
console.log(result.files, result.data, result.metadata);
Embedded
await client.mount({ tool: "jpg-to-pdf", target: "#zavilo-tool", mode: "embedded" });
This page is generated from the SDK Tool Definition used by the runtime.