Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

threshold not working properly #1588

Open
AryawanWijaya opened this issue Oct 27, 2024 · 0 comments
Open

threshold not working properly #1588

AryawanWijaya opened this issue Oct 27, 2024 · 0 comments

Comments

@AryawanWijaya
Copy link

AryawanWijaya commented Oct 27, 2024

I compare 2 image which is the different only 1px X 1px, but when I tried to set thresthold 1 and 100 there is no different, the lib still can catch the different between 2 image. so what is the function of threshold, I expect if i set 100 which mean will more tolerance than 1
first image there is 1px X 1px red dot in the bottom of page
test

second image
actual

but when i tried to used this setAllowingPercentOfDifferentPixels() -> there is a different result when I set 0 -> it will catch the different of image, but when I set 100 it will not catch the different

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant