104 Commits

Author SHA1 Message Date
Vladimir Agafonkin
38b395747e 5.2.0 v5.2.0 2020-04-17 13:24:05 +03:00
Vladimir Agafonkin
1a7e3370b8 minor cleanup / comments 2020-04-17 13:23:58 +03:00
Vladimir Agafonkin
e916190a4a upgrade deps, add diffColorAlt docs to readme 2020-04-17 13:16:18 +03:00
Tristen Brown
eef8fcc2f5
Add color option to differentiate the diffs between images (#87)
* Add color option to differentiate the diffs between images

Closes #86

* Feedback

* Update index.js

Co-Authored-By: Vladimir Agafonkin <agafonkin@gmail.com>

* Feedback

* Update fixtures

Co-authored-by: Vladimir Agafonkin <agafonkin@gmail.com>
2020-04-17 13:01:47 +03:00
Vladimir Agafonkin
e0ff7c2983 upgrade deps 2020-03-23 16:16:30 +02:00
Vladimir Agafonkin
d44dca1a94 fix CLI help text, close #84 2020-03-23 16:13:04 +02:00
Vladimir Agafonkin
ccff951632 upgrade dev deps 2020-01-23 15:59:34 +02:00
Vladimir Agafonkin
0eb801b17f update CDN url 2019-09-23 10:48:05 +03:00
Vladimir Agafonkin
696db7e04c 5.1.0 v5.1.0 2019-09-23 10:45:41 +03:00
Vladimir Agafonkin
59aff816c5 upgrade deps and commit yarn.lock 2019-09-23 09:34:04 +03:00
Tom Coleman
5192b82309 Add diffMask option (#73)
To draw diff over a transparent background.
2019-09-23 09:32:12 +03:00
ebutleratlassian
577f3365ad Update README.md (#65)
Just fixing a comma/semicolon typo.
2019-07-11 17:08:58 +03:00
Vladimir Agafonkin
ae91dd48b7 minor readme updates 2019-06-10 18:27:46 +03:00
Vladimir Agafonkin
e46afcd4eb 5.0.2 v5.0.2 2019-06-10 14:17:00 +03:00
Vladimir Agafonkin
05fac1845c fix input validation for some Jest environments
Closes #62.
2019-06-10 14:16:36 +03:00
Vladimir Agafonkin
197e8e27eb add a demo link 2019-06-07 20:53:03 +03:00
Vladimir Agafonkin
cc9b19036e update browser CDN link 2019-06-07 19:28:19 +03:00
Vladimir Agafonkin
53e8d51be1 5.0.1 v5.0.1 2019-06-07 19:12:09 +03:00
Vladimir Agafonkin
66e6f034c9 more robust error handling 2019-06-07 19:09:22 +03:00
Vladimir Agafonkin
c86c02d2c2 don't ignore alpha on identical images; more comments 2019-06-07 14:50:33 +03:00
Vladimir Agafonkin
a53eadd322 5.0.0 v5.0.0 2019-06-07 10:38:56 +03:00
Vladimir Agafonkin
5ea44fc01c
configurable diff output (colors, alpha) (#61)
Co-Authored-By: VP- <vp-@users.noreply.github.com>
Co-Authored-By: David Reignier <dreignier@users.noreply.github.com>
2019-06-07 10:35:08 +03:00
Vladimir Agafonkin
89f64b6a9f update readme 2019-06-07 01:25:22 +03:00
Vladimir Agafonkin
58002be63d more robust input validation
Closes #53. Closes #52.
2019-06-06 23:36:32 +03:00
Vladimir Agafonkin
1531ce25fb minor clean up of CLI code 2019-06-06 23:26:51 +03:00
Vladimir Agafonkin
0237f90463 upgrade to ES6 syntax; simplify with sync read/write 2019-06-06 21:04:01 +03:00
Vladimir Agafonkin
bd2b5622ba replace tap with tape 2019-06-06 20:44:18 +03:00
Vladimir Agafonkin
b03a3684ce make diff optional in cli; clean up 2019-06-06 20:32:00 +03:00
Vladimir Agafonkin
33dc04a9b0
Optimize for identical images case (#60)
* optimize for identical images case

* proper output for identical images

* fix lint
2019-06-06 19:37:11 +03:00
Marian Schubert
8a5683b7e8 Return non-zero exit code when given images differ (#54)
* Return non-zero exit code when given images differ

So that caller of this script can decide what to do based on diff result.

* Fix typo

* Disable no-process-exit eslint rule in bin/pixelmatch

* Wait for write operation to finish before exiting

Otherwise resulting file may get corrupted.

* Add missing semicolon
2019-02-15 20:24:32 +01:00
Marian Schubert
01af4e08e2 Fix typo (imagematch -> pixelmatch) (#55) 2019-02-14 23:35:19 +01:00
Vladimir Agafonkin
69efd8165b slightly simpler background drawing 2019-01-30 17:43:59 +02:00
Vladimir Agafonkin
7cd740d3de make matching ~35% faster; style tweaks 2019-01-30 17:02:58 +02:00
Vladimir Agafonkin
f2b68340d9 update link to antialiasing paper 2019-01-30 16:31:41 +02:00
Vladimir Agafonkin
b1f7744c00 update travis node version 2019-01-30 16:31:32 +02:00
Vladimir Agafonkin
e19712b9eb less files in the published package 2019-01-30 15:34:16 +02:00
Vladimir Agafonkin
e280706d14 upgrade deps 2019-01-30 15:32:55 +02:00
Iván Sánchez Ortega
405b65e40e Fix antialias detection on image edges (#51)
* Fix antialias detection on image edges

* Added one more test for antialias detection; revert write actual test diffs
2019-01-30 01:09:13 +02:00
Vladimir Agafonkin
2188ac3faf update deps 2018-02-21 10:59:56 +02:00
Vladimir Agafonkin
fb2bf9c307 upgrade deps & clean up travis config 2017-08-25 19:39:00 +03:00
Vladimir Agafonkin
324138acb8 bring back cov with higher timeout 2016-08-09 13:50:25 +03:00
Vladimir Agafonkin
44c28233da disable coverage for now
it started timing out after a nyc/tap upgrade
2016-08-09 13:43:21 +03:00
Vladimir Agafonkin
5dcbb31109 throw error on image size mismatch
closes #23
2016-08-09 13:18:45 +03:00
Vladimir Agafonkin
88fc8526f4 fixed travis node version
closes #23
2016-08-09 13:18:26 +03:00
Vladimir Agafonkin
7435bb8cf3 update node versions on travis 2016-08-08 19:58:33 +03:00
Vladimir Agafonkin
f655632e01 4.0.2 v4.0.2 2016-08-08 18:48:52 +03:00
Vladimir Agafonkin
ae8b89e8fd upgrade deps 2016-08-08 18:48:26 +03:00
Waldir Pimenta
a20d6c1c1e add license title (#22)
It's not strictly required, but it's useful metadata, and part of the recommended license template text (see http://choosealicense.com/licenses/isc/ and https://opensource.org/licenses/isc-license)
2016-07-07 15:04:50 +03:00
Vladimir Agafonkin
f513f065ce Merge pull request #14 from mapbox/fix-default-threshold-bin
don't set threshold to NaN when not provided
2016-02-12 15:28:42 +02:00
Ansis Brammanis
cbf63a730e don't set threshold to NaN when not provided
+undefined is NaN
2016-02-11 17:28:34 -08:00