pixelmatch-rs
Pixel-level image comparison
Completely based on pixelmatch
.
let num_diff_pixels = pixelmatch;
Implements ideas from the following papers:
- Measuring perceived color difference using YIQ NTSC transmission color space in mobile applications (2010, Yuriy Kotsarenko, Fernando Ramos)
- Anti-aliased pixel and intensity slope detector (2009, Vytautas Vyšniauskas)
Example output
expected | actual | diff |
---|---|---|
Command line
Pixelmatch comes with a binary that works with PNG images: