Skip to content

Output Settings ignoreAreasColoredWith applied to wrong image #122

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

Closed
pgoellnitz opened this issue Feb 4, 2023 · 1 comment
Closed

Output Settings ignoreAreasColoredWith applied to wrong image #122

pgoellnitz opened this issue Feb 4, 2023 · 1 comment

Comments

@pgoellnitz
Copy link
Contributor

Hi,
I struggled making the output setting ignoreAreasColoredWith working. I found that in addition to #118 the setting area is not applied to the base image but to the tested one.

I believe the images would need to be reversed here:

resemble.compare(baseImage, actualImage, options, (err, data) => {

@sharath2106
Copy link
Collaborator

Thanks for the MR @pgoellnitz. We have released the latest version (1.9.7) of the library yesterday. I would ask to check against the latest version and let us know.

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

2 participants