process_image
FilesProcesses images with resize, crop, or format conversion.
Parameters
| Parameter | Type | Required | Default | Description |
|---|---|---|---|---|
input_path | string | Yes | — | Input image path |
output_path | string | Yes | — | Output image path |
action | string | Yes | — | Image operation
Options: resize, crop, convert, compress |
options | object | No | {} | Operation-specific options |
Usage Example
RTILA X PROJECT JSON
{
"command": "process_image",
"params": {
"input_path": "product.jpg",
"output_path": "product-small.jpg",
"action": "resize",
"options": {
"width": 300,
"height": 0
}
}
}
Related Scenarios
- View /scenarios/file-download/1 · file download
Related Learning Articles
Was this helpful?
Thank you for your feedback!