Releases: mapbox/pixelmatch
Releases · mapbox/pixelmatch
v3.0.0
- Breaking: changed the API to accept
options
object literal (withthreshold
andincludeAA
properties) rather than arguments. - Breaking: changed
threshold
to be relative to YUV distance (not squared); this means you'll have to change thethreshold
values you're currently using tosqrt(threshold)
. - Added usage examples for Node & browsers in the readme.
v2.0.2
v2.0.1
v2.0.0
- Much more accurate anti-aliased pixels detection algorithm #2
- Display transparent pixels as white rather than gray in diff
Note a breaking API change: antialiasing
argument (number, 1
by default) is replaced with includeAA
(boolean, false
by default). Anti-aliasing detection is still enabled by default but always happens with 1 pixel radius.