Batch-process images in Pixelmator Pro
pixelmator_batch_processBatch-apply edits, resizing, and export to many images from a folder or file list; each file processes independently so one failure does not stop the rest.
Instructions
Apply the same operations, resize and export to many images. Pass a folder or a list of files. Each file is processed separately, so one failure doesn't stop the rest. Outputs keep the source file name with the new extension and an optional suffix.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"outputFolder": "<outputFolder>"
},
"name": "pixelmator_batch_process"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ops | No | Operations run in order before crop and resize. ML ones: remove_background (use png/webp/heic/tiff to keep transparency), super_resolution (always ×3), enhance, denoise, deband. Auto adjustments: auto_white_balance, auto_light, auto_color_balance, auto_hue_saturation. Geometry: trim_canvas, rotate_*, flip_*. | |
| format | No | Output format. pxd keeps layers (Pixelmator's own format). | jpeg |
| inputs | No | Image file paths | |
| resize | No | Resize with Lanczos after ops and crop. Give width only, height only (aspect kept), both (exact), or longEdge. | |
| suffix | No | Added to each output name, e.g. "-web" | |
| quality | No | 1–100 for jpeg, heic, webp and avif. Omit for the app default. | |
| overwrite | No | ||
| inputFolder | No | Process every image in this folder (not recursive) | |
| outputFolder | Yes | Where results go (created if needed) | |
| colorAdjustments | No | Color adjustments on the current (top) layer, most range −100…100, e.g. {"exposure": 20, "saturation": -10}. |