-
Notifications
You must be signed in to change notification settings - Fork 326
Closed
Labels
Description
We use pixelmatch at Chromatic and I've been maintaining our own fork with some extra functionality. I'd much prefer to upstream these changes and wanted to feel you out first to see whether you'd be open to merging them. They are backward compatible out of the box and come with tests. I believe they are aligned with pixelmatch's ethos of remaining small, fast and flexible.
The functionality is behind two new options:
diffMask- Iftrue, output will be a mask rather than a complete image.falseby default.drawAA- Iftrue, output will containaaColorpixels for those detected as anti-aliased otherwise they won't be included in the diff output.trueby default.
I can explain the reasoning behind needing these options in case it's unclear.