diff_pages
Compare two slides pixel-by-pixel to identify visual differences. Returns a normalized mismatch ratio and a diff image showing changed regions.
Instructions
Render two slides and report their pixel difference. (2 expensive calls.)
Renders both pages, computes a normalized mismatch ratio in [0, 1] (0 = pixel identical), and returns a visual diff image highlighting changed regions. Useful to verify a duplicated/edited slide matches the showcase original.
Returns a text summary followed by the diff PNG.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| presentation_id | Yes | ||
| page_a | Yes | ||
| page_b | Yes | ||
| size | No | LARGE, MEDIUM, or SMALL | MEDIUM |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |