Re:An image diff is worth a thousand words
by Flenser on Friday June 30, 2017 @05:58AM
(#14669627)
The image-diff library the article uses[0] depends on ImageMagick. If you want a library that does it entirely in JS there is js-imagediff[1] which is used by the excellent CSSCritic[1] to do visual regression testing entirely in the browser.
[0] https://github.com/uber-archive/image-diff [1] https://github.com/HumbleSoftware/js-imagediff [2] https://github.com/cburgmer/csscritic