Add Dithering To PNG
Upload a PNG image and apply Floyd-Steinberg dithering to reduce it to a limited color palette. Adjust color count and dithering strength.
Color Count
Fewer colors = more visible dithering pattern
Dithering Strength
0% = no error diffusion, 100% = full Floyd-Steinberg
Original
Dithered
Drop a PNG in and the tool snaps its colors to a smaller palette using Floyd-Steinberg error diffusion — the classic stippled look you see in retro games and newsprint. You pick how many colors and how hard the error spreads to neighboring pixels. And everything runs in your browser. Nothing gets uploaded.
How It Works
The tool reads every pixel and snaps its color to the nearest one in your reduced palette. That snap creates an error — the difference between original and new color. Floyd-Steinberg spreads that error to the right and bottom neighbors in specific fractions (7/16, 3/16, 5/16, 1/16). The result? A stippled pattern that fools your eye into seeing far more colors than are actually there.
Examples
Retro Game Sprite from a Photo
You want a SNES-era look for a character portrait taken from a photo.
Portrait photo PNG
16.7 million colors
Smooth skin tones and hair gradients
Dithered PNG, 4 colors/channel
64-color palette total
Stippled gradients, retro feel
Reducing a Gradient Banner for GIF Export
A website banner with a sky gradient needs to become a 256-color GIF without ugly banding.
1200×400 PNG banner
Blue-to-orange sunset gradient
24-bit color
Dithered to 8 colors/channel (512 total)
Gradient banding replaced by fine dots
Ready for GIF conversion
1-Bit Black and White Art Print
You’re printing a photo on a thermal receipt printer that only does black or white — no gray at all. Straight conversion loses all detail, but dithering keeps the image readable.
Grayscale photo, 256 shades
Lots of mid-tones and shadows
2 colors/channel, strength 100%
Pure black and white dots
Mid-tones become stipple patterns
Detail preserved through dot density
Who Uses This
Creating assets for retro-style games with limited color palettes like Game Boy or NES.
Converting references and photos into low-color starting points for pixel art.
Preparing images for screen printing, risograph, or thermal printers with limited color output.
Reducing PNG file sizes by cutting color depth before converting to GIF or indexed PNG.
Common Mistakes
Skin tones need at least 4–6 colors per channel to look decent. Going down to 2 turns portraits into unrecognizable blobs of dots. Start at 8 and work down until you like the balance.
If your source PNG has camera noise or JPEG artifacts, full-strength dithering amplifies that mess. Lower the strength to 50–70% for noisy sources, or denoise the image first.
The tool processes the actual pixel data, so a renamed JPEG still works — but JPEG compression artifacts will dither badly. For best results, start from a clean PNG or lossless source.
Technical Details
- Processing: 100% client-side via HTML5 Canvas API
- Algorithm: Floyd-Steinberg error diffusion
- Color Range: 2–256 colors per channel
- Transparency: Alpha channel preserved, only RGB dithered
- Browser Support: Chrome, Firefox, Safari, Edge
Frequently Asked Questions
What is Floyd-Steinberg dithering?
It’s an error-diffusion algorithm from 1976. When a pixel gets snapped to the nearest color in a smaller palette, the “mistake” (the difference) gets pushed to neighboring pixels. Those neighbors then correct for it when their turn comes. The result is a dot pattern that tricks your eye into seeing gradients even with very few actual colors.
How is dithering different from just reducing colors?
Plain color reduction (posterization) snaps every pixel independently, which creates hard bands where colors jump. Dithering adds a scattered dot pattern at those boundaries instead. Your brain blends the dots together, so gradients still look smooth. Big difference on photos and anything with soft transitions.
Does dithering make the file size smaller?
It depends. Fewer unique colors means PNG compression can work more efficiently, so yes, file size usually drops. But the scattered dot pattern itself adds complexity that fights compression a bit. For maximum size reduction, pair dithering with indexed-color PNG export in another tool.
Will this work on transparent PNGs?
Yes. The alpha channel passes through untouched — only the red, green, and blue channels get dithered. Transparent areas stay fully transparent in the output.
Is my image uploaded anywhere?
No. Everything happens right in your browser using the Canvas API. Your image never leaves your device, and nothing is stored or sent to a server. Close the tab and it is gone.