batch_export
Exports all open GIMP images or one selected image to a directory as PNG, JPEG, WebP, or TIFF, with configurable quality and filename patterns.
Instructions
Export all open images (or a specific one) to a directory.
Parameters:
output_dir: Directory to write exported files into
format: "png", "jpeg", "webp", "tiff" (default "png")
quality: JPEG/WEBP quality (default 90)
name_pattern: Filename template — use {name} for image name, {index} for position
image_index: If set, export only that image; omit to export all open images
Returns:
exported: list of {file_path, name, width, height}
count: number of files written
errors: list of any export errors
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| format | No | png | |
| quality | No | ||
| output_dir | Yes | ||
| image_index | No | ||
| name_pattern | No | {name} |