Skip to content

chore(deps): swap pixelmatch for @blazediff/core - #1613

Open
teimurjan wants to merge 1 commit into
PaloAltoNetworks:mainfrom
teimurjan:chore/blazediff-core
Open

chore(deps): swap pixelmatch for @blazediff/core#1613
teimurjan wants to merge 1 commit into
PaloAltoNetworks:mainfrom
teimurjan:chore/blazediff-core

Conversation

@teimurjan

@teimurjan teimurjan commented Aug 19, 2026

Copy link
Copy Markdown

What: Swaps pixelmatch for @blazediff/core in scripts/sitemap-visual-diff.ts.

Why: Same API, same results, faster — benchmarks show 86–91% on identical images, which is most pages on a typical sitemap run.

How: Drop-in call-site rename; identical signature, threshold/alpha carry over untouched.

Notes: Diff counts agree with pixelmatch across the fixture set, both use the same YIQ perceptual delta, blazediff just adds two-pass block-level early exit. Already used by Vitest, Shopify, Ant Design, AntV G, Ant Design X, GPT-Vis, Vega, and ApexCharts. Disclosure: I maintain BlazeDiff.

Background on the implementation:

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant