Support exclusion zones
Nobody has claimed this yet.
- Dominant language
- JavaScript
- Stars
- 7k
- Forks
- 327
- PR merge metrics
- No merged PRs in 30d
Description
This is a really great tool for checking images.
However, sometimes there are dynamic areas in the actual image which is subject to verification.
So a static expected image fixture won't do the job.
A simple solution would be : before comparing the images draw a black rectangle on specified position on both expected and actual images so any difference would be eliminated.
Another more elegant solution might be : mark the exclusion zones in the expected image in a certain way and the tool would simply ignore them . They can be marked with either maximum opacity alpha:255 or specific color which can serve as ignore color.
Does this sound like a useful feature and what option seems better?
Regards
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
No files, tests, or entry points are named. Read the repository's image-comparison API and the issue discussion first, then clarify which exclusion-zone approach is accepted; done means the chosen behavior is implemented and dynamic regions no longer affect comparison results.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- javascript
- Domain
- testing-qa
- Issue type
- Feature
- Difficulty
- 5/5
- Estimated time
- Over a week
- Activity status
- Active
- Clarity
- Needs clarification
- Newbie friendliness
- 35/100