diff_images
Compare two images by generating a three-panel composite: reference, new version, and a red-highlighted diff panel that marks changed regions.
Instructions
Compare two images and produce a 3-panel composite: [Image A] | [Image B] | [Diff]. The diff panel desaturates the base image and paints changed regions in bright red, making differences immediately obvious. Image B is scaled to A's size for the pixel diff; panels keep A's aspect ratio.
Parameters:
image_path_a: Path to the first image (treated as the reference/baseline)
image_path_b: Path to the second image (treated as the new/changed version)
threshold: Pixel difference (0-255) below which changes are ignored (default 15, filters noise)
tile_size: Longest side of each panel in the composite (default 512)
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| threshold | No | ||
| tile_size | No | ||
| image_path_a | Yes | ||
| image_path_b | Yes |