pixel-diff

Installation
SKILL.md

Pixel Diff

兩張截圖的像素級比對,產出差異視覺化圖。

使用時機

  • 比對 Figma 設計稿與網頁截圖
  • 檢測 CSS 變更造成的視覺 regression
  • 前後版本的 UI 變化追蹤

前置條件

  • 安裝 Pillownumpypip install Pillow numpy

使用方式

python scripts/pixel-diff.py <image_a> <image_b> --output diff.png [--threshold 5] [--highlight-color red]
Installs
2
GitHub Stars
34
First Seen
May 5, 2026
pixel-diff — mukiwu/muki-ai-plugins