compare_images
Detect visual regressions by SSIM-comparing two image files. Get similarity score, changed regions, heatmap, and side-by-side preview to validate UI changes.
Instructions
SSIM-compare two image files (e.g. a Figma export vs a capture). Paths may be relative to the project root. Returns score, changed regions, a heatmap path and an a|b preview.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| align | No | pad | |
| image_a | Yes | ||
| image_b | Yes | ||
| threshold | No | ||
| max_changed_ratio | No |