This webpage includes the following
functionalities:
-
● Loading the image onto the
canvas when an image file is uploaded.
-
● Applying different dithering
algorithms based on the selected option.
-
● Providing predefined color
palettes for different dithering options.
-
● Implementing error diffusion
dithering, Floyd-Steinberg dithering, Atkinson dithering, and blue noise
dithering.
-
● Providing a download button
to save the dithered image.
The dithering algorithms work by
finding the nearest color from a predefined palette and distributing the
quantization error to neighboring pixels to produce a more visually pleasing
result.