pixelmatch icon indicating copy to clipboard operation
pixelmatch copied to clipboard

Weird comparator behaviour.

Open KuznetsovRoman opened this issue 2 years ago • 1 comments

Example 1

Image1 Image1 Image2 Image2

With threshold: 0.15 (default is 0.1) Pixelmatch can't see the difference between these images

Example 2

Image3 Image3 Image4 Image4

With the same threshold: 0.15 (default is 0.1) Pixelmatch can see the difference between these images: Image4

Showcase repo: https://github.com/KuznetsovRoman/pixelmatch-showcase

And there is no suitable threshold value. Here is visual color comparison table:

color difference table

KuznetsovRoman avatar Jul 19 '23 11:07 KuznetsovRoman

cc @mourner

DudaGod avatar Jul 21 '23 08:07 DudaGod