Step 1 — Pick or load an image
Use sample images or upload your own. Processing runs locally in your browser.
100%
8×
💡 Quick Tips
- Lower bits increase quantization error; try 2–4 bits with dithering
- Switch sRGB/Linear to see how gamma affects perceived banding
- Hover the image to inspect exact pixel values and calculations
- Floyd-Steinberg and JJN are error diffusion algorithms
Step 2 — Visualize & Compare
Side‑by‑side original and quantized outputs. Blend with Mix for A/B comparisons.
Inspector
Range: 0…255
Mode: Grayscale
Bits: 8
Levels: 256
PSNR: ∞ dB
Hover the image to see pixel math:
1) Read pixel (sRGB)
2) Convert to {linear or sRGB}
3) Quantize to N levels (based on bits & quantizer)
4) Dither adjustment (if any)
5) Convert back to sRGB → display value