-
Notifications
You must be signed in to change notification settings - Fork 17
Description
Description
A visual tool for developers to compare two images (e.g., "Original Mockup" vs "Current Screenshot") to identify pixel-level differences.
Rationale
Manual "eyeballing" of UI differences is imprecise. A specialized tool with overlay and flicker modes makes visual regression testing easier.
Expected Behavior
Double file upload (Image A and Image B).
Comparison Modes:
Side-by-side: Horizontal/Vertical split.
Slider: A draggable vertical line revealing one image over the other.
Onion Skin: Opacity slider for Image B over Image A.
Difference: Highlighted pixels that differ between the two.
Implementation Tasks
Create imageDiffViewer.tsx.
Implement canvas-based image comparison for the "Difference" mode.
Create UI controls for the various viewing modes.