I wanted a simple way to do image comparisons on one of my other projects, so I ported the pixelmatch library to C++17.
Example output
expected | actual | diff |
---|---|---|
The library itself is a straightforward port, written using modern C++ infrastructure and a polyfill for the C++20 std::span
, and with additional infrastructure such as:
- Additional tests to reach 100% code coverage.
- Fuzz tests.