merge_images
Combine multiple images into one by arranging them horizontally, vertically, or in a grid layout with customizable spacing and background color.
Instructions
Merge multiple images into a single image by arranging them horizontally, vertically, or in a grid.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| input_paths | Yes | Ordered list of absolute paths to the images to merge (minimum 2) | |
| layout | No | Arrangement: horizontal (side by side), vertical (stacked), or grid (auto columns) | horizontal |
| gap | No | Gap in pixels between images (default 0) | |
| background | No | Background/gap fill color as hex (default #ffffff) | #ffffff |
| output_path | Yes | Absolute path for the output file (format inferred from extension) |