-
Notifications
You must be signed in to change notification settings - Fork 99
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
[Feature request] Ignorable areas #9
Comments
The easiest thing to do would be to white-out those areas before doing the diff. Might be beyond the scope of this tool, but I'll think on it. |
+1 on this feature request...For automated testing it would be really excellent to be able to define a region to diff. Maybe a reasonable MVP would be something as simple as an option to say "region": ["0,0", "200,100"] to specify the top left and bottom right corners of the diffable region. Great project! |
Agreed. Exclusion areas would be outstanding. |
👍 +1 |
I've added a pull request with this feature: #58. The
will check the "face", but not the "eyes". I didn't want to change the existing API in the PR, but I also suggest that the |
Would it be possible to implement the ability to ignore areas of an image when diff'ing? For example, if I have an image of a web page which I want to compare against a baseline image I might want to ignore certain areas, such as dynamic text or images.
This could be done by specifying rectangle areas to ignore with top left x and y coordinates and bottom right x and y coordinates.
The text was updated successfully, but these errors were encountered: