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

Fails to detect difference #21

Closed
jfirebaugh opened this issue May 19, 2016 · 3 comments
Closed

Fails to detect difference #21

jfirebaugh opened this issue May 19, 2016 · 3 comments
Labels

Comments

@jfirebaugh
Copy link

expected.png:

image

actual.png:

image

$ pixelmatch {expected,actual,diff}.png
match: 16ms
different pixels: 0
error: 0%
@jfirebaugh
Copy link
Author

If I use a color other than pure black, it works.

@jfirebaugh
Copy link
Author

Maybe failing for the same reasons as #13 (comment).

@mourner mourner added the bug label Jun 21, 2016
@mourner
Copy link
Member

mourner commented Jun 21, 2016

Yes, the reason for the bug is that the first version is alpha-blended with black before comparison.

@mourner mourner closed this as completed Jun 30, 2016
ReDrUm pushed a commit to ReDrUm/pixelmatch that referenced this issue Sep 20, 2019
…community to master

* commit '1723d769cc8e6720c54361cdb18b1cfcfffc5e9d':
  docs(community): added CoC
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants