Dither an Image
Dither an image with Floyd-Steinberg error diffusion in your browser. Two levels gives a one-bit newspaper texture instead of bands.
What this dither an image does
Floyd-Steinberg error diffusion snaps each pixel to the nearest available level and pushes the leftover error into the neighbours that have not been processed yet. At two levels this produces the classic one-bit newspaper texture rather than smooth bands, which is why a dithered gradient still looks like a gradient at a distance.
How to use it
Dither an Image: choose an image file from the file picker and press Run, after setting Levels per channel (2-8), default 2, Output format (default "png") and Quality (JPEG and WebP), default 90 to get the result image below.
Why it runs in your browser
The work is done locally with JavaScript and the canvas. That means the tool keeps working offline after the page loads, and a private picture is never sent anywhere.
Floyd-Steinberg error diffusion snaps each pixel to the nearest available level and pushes the leftover error into the neighbours that have not been processed yet. At two levels this produces the classic one-bit newspaper texture rather than smooth bands, which is why a dithered gradient still looks like a gradient at a distance.
Dither an image with Floyd-Steinberg error diffusion in your browser. Two levels gives a one-bit newspaper texture instead of bands.
How to use it
Dither an Image: choose an image file from the file picker and press Run, after setting Levels per channel (2-8), default 2, Output format (default "png") and Quality (JPEG and WebP), default 90 to get the result image below.
Why it runs in your browser
The work is done locally with JavaScript and the canvas. That means the tool keeps working offline after the page loads, and a private picture is never sent anywhere.
What to Expect
Best for
- Converting image file to result image when the data is already on screen.
What this tool keeps
- That means the tool keeps working offline after the page loads, and a private picture is never sent anywhere.
Frequently asked questions
How do I use the dither an image?
Dither an Image: choose an image file from the file picker and press Run, after setting Levels per channel (2-8), default 2, Output format (default "png") and Quality (JPEG and WebP), default 90 to get the result image below.
Is my input uploaded?
No. The file is read with the browser's File API and processed on this page; the bytes are never posted to a server.
Is there a size limit?
Yes: 25 MB per file. A larger file is refused with a message rather than freezing the tab.
Build custom tools for your store
Join the SDK program to create useful ecommerce utilities for your store.