looks-same icon indicating copy to clipboard operation
looks-same copied to clipboard

Node.js library for comparing images

Results 29 looks-same issues
Sort by recently updated
recently updated
newest added

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` ![accepted-1](https://cloud.githubusercontent.com/assets/189580/9425282/5102aae4-490b-11e5-9f58-fac4dd7a3d93.png) ### `current` ![fkog--4jj4w](https://cloud.githubusercontent.com/assets/189580/9425284/66a18b0e-490b-11e5-91f1-9a767187fae3.png) ### `diff` ![a](https://cloud.githubusercontent.com/assets/189580/9425476/3ebbee48-4912-11e5-85f2-96b5f5364bf3.png)

prio:normal
backlog

The code is here https://github.com/mapbox/pixelmatch/pull/7/

enhancement
help wanted
prio:normal
backlog

### 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...

good first issue

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:...