EIT easy-image-tools / Dithering PNG

Dithering PNG

Applies Floyd–Steinberg error diffusion or ordered Bayer dithering while reducing to k colors.

Nothing found — try another word.

01

Dithering PNG

Nothing found — try another word.

Color count

Nothing found — try another word.

Preview
Source
Drop a PNG here or click / paste (Ctrl+V) — processed locally
Result
no result yet

Dithering reduces a picture to very few colors without the harsh flat patches that usually come with it. The tool builds a small palette from the image, then either diffuses the rounding error into neighbouring pixels with Floyd-Steinberg or adds an ordered Bayer 4x4 offset before choosing the nearest palette color — the result uses only a handful of colors yet keeps the gradients readable. It runs in your browser, and the alpha channel is untouched.

  • Runs entirely in your browser: no upload, no server, no signup.
  • Color count from 2 to 16; the palette is built from the image itself.
  • Floyd-Steinberg for a photographic look, Bayer 4x4 for a regular ordered grid.
  • The dimensions and the alpha channel never change.
  • For your own named colors use the custom palette tool first.
  • Free with no daily limit, no watermark and no account, also for commercial use.

How to use it

  1. Drop the image into the source area, or pick a file from your device.
  2. Set Color count between 2 and 16; 4 is a good starting point for a picture that should still read as a picture.
  3. Choose Pattern: Floyd-Steinberg for a photographic look, Bayer 4x4 for a regular visible grid.
  4. Download the result from the Download button.

Questions

Which pattern should I pick?

Floyd-Steinberg scatters the error as fine random-looking speckle and suits photos and gradients. Bayer 4x4 adds the same offset per position in a repeating four by four tile, so the texture is an even ordered pattern that fits retro and pixel-art looks.

Why does my image look noisy?

That noise is the point: the error each pixel leaves behind is carried into its neighbours, which is how four colors can suggest a smooth sky. At 2 or 3 colors the speckle becomes obvious, so raise the Color count or switch to Bayer.

Does dithering change the dimensions?

No. The pixels are rewritten in place - the result is the same size as the source, with the same alpha channel, just painted with palette colors.

Can I use my own colors?

Not on this page - the palette is built from the image by the same median-cut engine the quantize tool uses. If you need specific colors, name them in the custom palette tool first.

Related tools