Skip to content

feat(tools): add Image Comparison / Diff Viewer #53

@rishima17

Description

@rishima17

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.

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions