mapbox / pixelmatch

The smallest, simplest and fastest JavaScript pixel-level image comparison library
ISC License
6.12k stars 304 forks source link

Different match results on Linux and MacOSX #57

Closed chinchang closed 5 years ago

chinchang commented 5 years ago

Is there a possibility that different match is returned on Linux and MacOSX? I am facing this, but still running some tests to be sure.

mourner commented 5 years ago

Linux & MacOSX can render line/fill edges slightly differently (so it's not noticeable visually but values are different) — that's exactly the reason why pixelmatch implements anti-aliasing detection.