81 Commits (master)

Author SHA1 Message Date
james.cryer 6d798a848d Fixes issue where PhantomJS fails to parse the file 6 years ago
James Cryer ea75da0553
Fixed bug with error pixel colour override (#140) 6 years ago
james.cryer 75b22ecd88 Added linting 7 years ago
james.cryer ae6747ea7d De-reference callbacks and minor cleanup. Fixes #94 7 years ago
james.cryer dadad3d80d Fixes #130 7 years ago
Kamil Bielawski 72bd436487 Add support for ignoring rectangle 7 years ago
Christopher Brown 9790f2f62b
Add break statements to switch 7 years ago
james.cryer 901ac9767e a few tweaks 7 years ago
bouzuya 8032326137 copyPixel() ignores the fourth argument 7 years ago
Kristina Chodorow 906ba229c4 Add back "." 7 years ago
Kristina Chodorow 0cb7a4b8bc Display the load error, if available 7 years ago
Thomas Grainger e5424ce1e5
restore global settings function 7 years ago
Thomas Grainger cbc56b1fc6
move outputSettings into compareApi and rootApi 7 years ago
Thomas Grainger a8ca507dd7
fix syntax errors 7 years ago
Thomas Grainger 512bbc5593
expose convenience function to browsers 7 years ago
Thomas Grainger 59b7cd76e1
move outputSettings onto resemble object 7 years ago
james.cryer 3f13b6c3e4 Remove peer dependency on canvas, use canvas-prebuilt #45 7 years ago
Kamil Bielawski f3a6368673 Add ignoreAlpha option 7 years ago
Kamil Bielawski 55ed24a782 Implement as new errorType 7 years ago
Kamil Bielawski c3c62fa05b Add outputDiff option 7 years ago
Libo Song 705d030823 Output the diff image along with the original images for easy comparison. 7 years ago
james.cryer b89f33bbda renamed params to make clearer 7 years ago
james.cryer 74585fcfb4 spacing and falsey 7 years ago
Kamil Bielawski ac04a5741f Add demo and update README; make code a bit more foolproof 7 years ago
Kamil Bielawski 25e4eece17 Allow specifying bounding box for comparison 7 years ago
Zoltan Olah b1ddc451e3 Adds Node.js support with tests 7 years ago
james.cryer f593c0e03c patch version 7 years ago
Marc Pujol 81f41cb9c7 Allow passing a pixel diff function as option 8 years ago
Chananya Freiman c9884357c9 Make loop() arguments match its signature. 8 years ago
Chananya Freiman ea8ecd8b3a Even less heap allocations 8 years ago
Chananya Freiman 74d983cf26 Corrected the getPixelInfo call in isAntialiased 8 years ago
Chananya Freiman d929fb3b2c Less heap allocations 8 years ago
james.cryer b2f491d1df minor tweaks 8 years ago
Jon Wallsten 1ef9a2be4d What sane person uses tabs? 8 years ago
Jon Wallsten 300d43352a Fixed issue where scaleToSameSize is not working when using node-canvas. Can't set image dimensions. 8 years ago
james.cryer fbd4fc44e0 useCrossOrigin option and README changes 8 years ago
Anton Konovalov 397a80450e Add pure black & white colors to image analysis. 8 years ago
james.cryer 33f9114d0a Resolves bug address by PR #70. Removes defensive CORS from e6dab9aaf0 and optimisation a1a41fc526. Works for me. 8 years ago
Anton Konovalov 5f408198b6 Add alpha to analysis result. 9 years ago
Anton Sivolapov 15d2b12d08 add new comparison option "scaleToSameSize" 9 years ago
Alex Kanunnikov a1a41fc526 Large Base64 image files performance tweak 9 years ago
Andrew Carreiro 9211a80d0e Added tests, modified resemble to add error state for loaded images 9 years ago
Andrew Carreiro 6a3a852358 Surfacing raw mismatch percentage to help with large image diffs 9 years ago
james.cryer 1498110798 missing semi-colon 9 years ago
benwick 8c759b5ac5 Fix unloaded image issues, mostly in IE and Safari 9 years ago
Will Binns-Smith 127e8be80e Add UMD wrapper for module loaders 9 years ago
Thomas Steur 75ba9c1a28 Fix ignore nothing still defines a tolerance 9 years ago
Pascal Borreli 7625896bfb Fixed typos 10 years ago
E.Azer Koçulu 85e2fe1228 Read document variable by checking if it exists 10 years ago
Dan Vanderkam 9102fa71b9 Record the bounding box of the diff while calculating it. 10 years ago