Skip to content

Match upstream's new ignore_mask #256

Open

Description

@Venefilyn

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

mapbox/pixelmatch#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

  1. added
    enhancement
    on Oct 8, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementpr welcome

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions