Compare two pixel-aligned images, highlight channel differences, and report changed-pixel percentage.
Both images are drawn onto the larger canvas, and absolute RGB channel differences are compared with the threshold. Changed pixels become highlighted in the diff image while the report counts differences.
Input1: data:image/png;base64,iVBORw0KGgo= Input2: data:image/png;base64,iVBORw0KGgoA Threshold: 25
Changed pixels: 1 Difference: 100%
Visual regression tests compare screenshots, design reviews check exports, and photo workflows identify edits.