pixelmatch icon indicating copy to clipboard operation
pixelmatch copied to clipboard

feat: add new option for ignored regions

Open hongdeyuan opened this issue 1 year ago • 1 comments

Hello, I personally think that 「ignored regions」 is a great feature; I helped resolve the conflict (https://github.com/mapbox/pixelmatch/pull/122 @rafalszemraj), Can you(@mourner) merge it ?

Help us ignored many factors

  • dynamic data
  • animations
  • other... image

hongdeyuan avatar Feb 27 '25 02:02 hongdeyuan

Looks great! However have you considered embedding the ignored regions inside the expected image? For example if you have an expected image with areas which are marked with full opacity or particular color these areas can be excluded from matching.

iso-ivanv avatar Aug 28 '25 13:08 iso-ivanv