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
Tom Coleman
5192b82309
Add diffMask option ( #73 )
...
To draw diff over a transparent background.
2019-09-23 09:32:12 +03:00
Vladimir Agafonkin
66e6f034c9
more robust error handling
2019-06-07 19:09:22 +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
58002be63d
more robust input validation
...
Closes #53 . Closes #52 .
2019-06-06 23:36:32 +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
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
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
5dcbb31109
throw error on image size mismatch
...
closes #23
2016-08-09 13:18:45 +03:00
Oliver Moran
057025f341
update pings library
2015-11-11 14:12:03 +02:00
Vladimir Agafonkin
85cae25af9
yiq-based color metric
...
Implements the formula in paper
http://www.progmat.uaem.mx:8080/artVol2Num2/Articulo3Vol2Num2.pdf —
much closer to CIEDE2000 in quality
2015-10-23 19:30:58 +03:00
Dane Springmeyer
ba8441d0f8
get mismatch with needing to allocate diff image
2015-10-22 16:53:40 -07:00
Vladimir Agafonkin
5ee112ec17
switch to options object in API
2015-10-20 16:12:24 +03:00
Vladimir Agafonkin
5bfdf6cf6f
use linear threshold rather than squared, close #3
2015-10-20 16:10:34 +03:00
Vladimir Agafonkin
d008d87cb2
one more test fixture
2015-10-18 14:07:36 +03:00
Vladimir Agafonkin
6771330bbe
more test fixtures
2015-10-18 13:55:50 +03:00
Vladimir Agafonkin
17471e048b
more accurate antialiasing pixels comparison, ref #2
2015-10-18 13:35:06 +03:00
Vladimir Agafonkin
ac726128dd
async PNG read to support Node 0.10
2015-10-18 00:11:52 +03:00
Vladimir Agafonkin
9bd2592d10
much better anti-aliasing detection algorithm, close #2
2015-10-17 23:29:41 +03:00
Vladimir Agafonkin
372e3730d0
use premultiplied Y'UV colorspace for comparison
2015-10-16 19:39:12 +03:00
Vladimir Agafonkin
4dfc0bc6b7
add tests
2015-10-14 12:53:57 +03:00