pixelmatch
pixelmatch copied to clipboard
The smallest, simplest and fastest JavaScript pixel-level image comparison library
### Description I'm trying to embed the script in a static HTML file, but I'm running into the following error. I think it might be due to the script being...
Have you thought about adding TypeScript support to this library? I'm working on a fork of your library and I thought it would be nice to rewrite it in TypeScript....
  compare shows 2024-08-31T17:30:16.303Z - debug: Number of different pixels found: 0 2024-08-31T17:30:16.304Z - debug: Threshold for similarity: 10
If `diffMask` is `true` it should allow to pick a color for the `diffMask`, similarly to `diffColor`
Hello, Can you tell me if pixelmatch can load PNG-8 files? (color palette). I got "failed: EncodingError: The source image cannot be decoded." error for a valid PNG-8 files (256...
Hi! Thank for your nice utility! Can you please explain what threshold means ? Is it like 10% of difference ignored when it is 0.1, and 100% when it is...
Hello, I personally think that 「ignored regions」 is a great feature; I helped resolve the conflict (https://github.com/mapbox/pixelmatch/pull/122 @rafalszemraj), Can you(@mourner) merge it ? ## Help us ignored many factors -...
This is a really great tool for checking images. However, sometimes there are dynamic areas in the actual image which is subject to verification. So a static expected image fixture...
I think this will be more useful and easier to use, than current demo page Require: enable Github Pages for current repo