Skip to main content

process_image

Files

Processes 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
process_image.json
{
  "command": "process_image",
  "params": {
    "input_path": "product.jpg",
    "output_path": "product-small.jpg",
    "action": "resize",
    "options": {
      "width": 300,
      "height": 0
    }
  }
}

Related Scenarios

Related Learning Articles

Was this helpful?