Image diff
Try it interactively →POST /api/image-diffVisual diff between two PNGs. Returns the diff image (regions of change highlighted on a faded copy of the first input) plus a 0–1 similarity score and the count of differing pixels.
Inputs
| Name | Type | Default | Description |
|---|---|---|---|
| imageA* | file | — | Reference / baseline PNG. |
| imageB* | file | — | Comparison PNG (must match imageA's dimensions). |
| threshold | number (0…1) | 0.1 | Colour-difference threshold. Smaller = more sensitive. |
| ignoreAntialiasing | boolean | true | Skip anti-aliased pixels when counting differences. |
Response
Modes: json, binary. Cache: yes (24h TTL).