Skip to main content

Module diff

Module diff 

Source
Expand description

Image comparison and diff generation for visual testing.

Provides pixel-level comparison of before/after screenshots to detect UI changes after gestures.

Structs§

BoundingBox
Bounding box of changed region.
DiffResult
Result of comparing two images.

Functions§

compare_images
Compare two images and return the diff result.
save_diff_image
Save a diff image highlighting changed pixels.