Skip to content

Releases: mapbox/pixelmatch

v3.0.0

20 Oct 13:21
Compare
Choose a tag to compare
  • Breaking: changed the API to accept options object literal (with threshold and includeAA properties) rather than arguments.
  • Breaking: changed threshold to be relative to YUV distance (not squared); this means you'll have to change the threshold values you're currently using to sqrt(threshold).
  • Added usage examples for Node & browsers in the readme.

v2.0.2

18 Oct 10:57
Compare
Choose a tag to compare

Increased accuracy of anti-aliased pixels comparison.

v2.0.1

17 Oct 21:13
Compare
Choose a tag to compare

Adds Node 0.10 support for command line and tests.

v2.0.0

17 Oct 20:31
Compare
Choose a tag to compare
  • 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.

v1.1.1

17 Oct 19:00
Compare
Choose a tag to compare

Fixed minor bug in color difference calculation.

v1.1.0

16 Oct 16:47
Compare
Choose a tag to compare

Use premultiplied Y'UV colorspace for color comparison, making it more in line with human perception of color.

v1.0.0

14 Oct 19:03
Compare
Choose a tag to compare

First release.