looks-same
looks-same copied to clipboard
Node.js library for comparing images
Snippet: ```javascript const getImageDiff = async (reference, current) => new Promise((resolve, reject) => { const options = { highlightColor: '#ff00ff', strict: true, }; looksSame(reference, current, options, function(error, equal) { if...
Using looks-same v3.3.0. Note that the reference image was generated using WebGL on a Macbook Pro 2015, whereas the generated image is generated using a docker image running Ubuntu with...
Right now, `looks-same` measures each individual pixel, and if even one exceeds the difference tolerance, it returns a failure. It would be nice if there was a mode where we...
Or perhaps rewrite this to be strictly promise-based only for a new major version bump?
For some reason two very similar images that contains semi-transparent pixels are considered different. ### `reference`  ### `current`  ### `diff` 
The code is here https://github.com/mapbox/pixelmatch/pull/7/
### Description if one of the screenshots submitted for comparison is empty, an error is thrown: ``` RangeError [ERR_BUFFER_OUT_OF_BOUNDS]: Attempt to access memory outside buffer bounds ``` According to this...
When running the new version 10.x in test running jest 30.x, I am getting this error `TypeError: A dynamic import callback was invoked without --experimental-vm-modules` It is pretty simple test:...