batch_process
Apply identical image operations to all files in a folder within one GIMP session. Failed files are reported without stopping the batch, preserving throughput.
Instructions
Apply the same operations to every image in a folder.
All files are handled inside a single GIMP session, so a large folder
costs one GIMP startup rather than one per file. A file that fails does
not abort the run: it is reported in errors and the rest continue.
operations is a JSON list, same format as process_image. Set suffix to
e.g. "_out" to avoid overwriting, and output_format to "jpg"/"png" to
convert.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| suffix | No | ||
| backend | No | ||
| pattern | No | ||
| quality | No | ||
| input_dir | Yes | ||
| recursive | No | ||
| operations | Yes | ||
| output_dir | Yes | ||
| output_format | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |