Closed tharders closed 7 years ago
Hi @tharders
Tnx for your PR. The idea sounds good and I'll review your PR and feedback the coming days. I'm currently not in a good mode to do that (something with sun and a holiday ;-))
@tharders
Tnx for for the PR, I've merged it. I first need to fix my build and will then make a new release
Hi, I had the idea, that it would be nice to mark regions that should be ignored for comparison in the base image, which would be easier than working with blockout rectangles in the code. Since a screenshot would normally not contain transparency, I had the idea to make the regions that shall be ignored transparent in the base image. So I added a new option
ignoreTransparentPixel
that can be set to true to ignore pixels that have transparencies. I updated the unit tests together with a new test image.But "npm run test" did not work for me, even before I made my changes. I tried it on windows and a fellow on Mac.
I hope you also like the idea and will add the feature into this cool project. If you have feedback, I am happy to work on this.
Thanks... Thorsten