A pixel-level comparison instrument for images and videos — in one offline HTML file.
Up to 5 Images or Synchronized Videos · WebGL 2 · OKLab ΔE Heatmaps · Zero Dependencies
Get started · Features · Screenshots · Themes · Shortcuts · Privacy
PIXELDIFF is a zero-dependency, single-file WebGL 2 visual comparison instrument built for judging locally generated diffusion outputs, upscalers, LoRAs, image compression, and multi-take video renders at the pixel level.
Its core design thesis is simple: the instrument is dark so the image can be bright. All neon accents live strictly in the rails, deck, and data — the matte directly surrounding your media stays a calibrated neutral grey (0 / 18 / 50 / 80) so colored chrome never biases your eye.
Open https://aithaezio.github.io/PixelDiff/ — everything runs 100% client-side in your browser; your images and videos are never uploaded.
- Download
PixelDiff.htmlfrom the latest release. - Double-click
PixelDiff.htmlto open it in any Chromium browser (Chrome, Edge, Brave, Arc — recommended for fullrequestVideoFrameCallbackframe-accurate Video Mode). - Drag and drop up to 5 images or videos, click
+, or pressCtrl+Vto paste from clipboard.
Powered by one unified WebGL 2 fragment shader with smooth morphing transitions, synchronized linked zoom/pan (0 Fit, 1 1:1 native pixels, pixel grid G), and instant reference promotion (Shift+1…5 or R):
Side (S)— Compare up to 5 candidates simultaneously in an auto-fit or custom column grid.Split (W)— Vertical or horizontal wipe comparing every candidate directly against the reference.Overlay (V)— Smooth crossfade blend.Loupe (L)— Interactive reference disc with adjustable radius ([ / ]), feather, cursor follow, invert, and spotlight mode.Box (B)— Draggable reference inspection window.Onion (O)— Tinted ghost frame overlay (in Video Mode:First,Last,At,Live, or decaying motionTrailring).Heat (H)— Real-time difference heatmap with 5 metrics (ΔEOKLab HyAB perceptual difference,Luma,RGBmax-channel,±signed drift,EdgeLaplacian structure) and 5 perceptual colormaps (Turbo,Inferno,Viridis,Magma,Mono) plus live Gain, Floor threshold, and Reference Context controls.Blink (K)— Astronomer's blink comparator flipping between reference and candidate in place at adjustable Hz.
- Pixel Probe (
P): Live raw file RGB + OKLab HyABΔEunder the cursor (color management is intentionally disabled so the bytes you probe are the exact bytes in the file). - Difference from Reference: Live Mean
ΔE, MaxΔE, closest-candidate callout, and% of pixels above floorread straight from a liveΔEhistogram. - Per-Source Scores: Laplacian Variance sharpness, Immerkær fast edge-insensitive noise estimator, highlight/shadow clipping %, and mean luma.
- Histogram & Waveform: Live per-slot RGB/Luma histogram and luma waveform monitor.
- Auto-Align & Nudge (
Alt + Arrows): Automatic±8 pxstrided luma SAD registration so slightly shifted crops or generations still produce accurate heatmaps. - Verdict, Stage Filters & Export: Mark candidates (
Marked only/Hide reference), sort slots byΔE, rate takes with stars, and export annotated results.
- Independent Video Mode with its own master clock and rate-trim drift correction (soft
60 ms/ hard150 msdeadband so 5 clips stay locked without seek stutter). - Playback speed (
¼×–4×), frame-accurate stepping (← / →or, / .),Time/Progress/Framealignment modes, In/Out loop markers (Shift+I/Shift+O), 40-frame filmstrip, and motion trail ring.
- Press
\(or click the corner brackets) to collapse every rail to zero for 100% fullscreen media judgment. - Choose Motion: Full / Reduced / Off (automatically honors
prefers-reduced-motion).
|
Heat Mode — 5 Metrics × 5 Perceptual Colormaps |
Synchronized Loupe + Live Histogram & Waveform |
|
Multi-Slot Side-by-Side Grid with Live ΔE Readouts |
|
Press T anytime to cycle between 4 darkroom & lab themes with smooth CSS @property color interpolation:
| Context | Shortcuts |
|---|---|
| Compare Modes | S Side · W Split · V Overlay · L Loupe · B Box · O Onion · H Heat · K Blink |
| Zoom & Navigation | 0 Fit · 1 Actual pixels (1:1) · + / - Zoom (Alt for 1% steps) · Wheel zoom (Shift 2×, Alt fine) · Middle-drag or Alt+Drag Pan |
| Inspection & Slots | P Pixel probe · G Pixel grid · [ / ] Loupe radius · Shift+1…5 Set reference · R Cycle reference · Alt+Arrows Nudge hovered pane alignment · Ctrl+V Paste |
| Video Mode | Space Play/Pause · ← / → or , / . Step 1 frame · Shift+←/→ Skip 1s · Home / End First/Last frame · < / > Slower/Faster · Shift+I / Shift+O Mark In/Out · M Mute |
| Global Shell | T Next theme · \ Blackout (hide all chrome) · ? Shortcuts help |
- 100% Local Processing: Every WebGL shader pass, OKLab
ΔEmeasurement, histogram, waveform, and video frame runs strictly inside your browser's local memory. No files leave your machine, and there are zero trackers or external JS libraries. - Zero Build Step: The entire app lives in
index.html(distributed asPixelDiff.htmlon Releases). - Verifying a release download:
Get-FileHash .\PixelDiff.html -Algorithm SHA256See CHANGELOG.md for full release notes.
Licensed under the MIT License — free to use, modify, and distribute with the copyright notice intact.
Made by Aitha & AI. If PIXELDIFF helps your workflow, consider supporting Aitha on Ko-fi or exploring Aitha's other projects on GitHub.