Convert Image
AI-generatedSummary
Convert an image to a different format or process PDFs and images via Convertorio API
Inputs
- binaryPropertyName (required) — Name of the binary property containing the file to convert
- targetFormat (required) — Target format to convert the image to (e.g., jpg, png, webp)
- quality — Compression quality (1-100) for JPEG/WebP/AVIF/HEIC/JXL; defaults to 90
- resizeOptions — Resize options including width, height, aspect_ratio, and crop_strategy
- icoOptions — ICO-specific options such as icon_size
- outputBinaryPropertyName — Name of the binary property to store the converted file(s)
Output shape
array of result objects
Each element contains a JSON payload with success flag, jobId, and optional fields; binary data is emitted under the outputBinaryPropertyName property
Examples
Example 1: Convert a PNG image to WebP with quality 80 and resize to 800x600
binaryPropertyName: data; targetFormat: webp; quality: 80; resizeOptions: {width: 800, height: 600, aspect_ratio: "original"}; outputBinaryPropertyName: converted
