Floyd Steinberg Dithering

Floyd Steinberg Dithering is an error diffusion algorithm that distributes the quantization error of a pixel to its neighboring pixels. This results in a more visually appealing image when reducing the color depth. In this example, we convert an image to grayscale and then create a dithered version of the image.

Source Image

Grayscale Image

Dithered Image