This sample program demonstrates how to use various algorithms to dither an image using C#.
Please refer to the following articles on cyotek.com for more details
- An introduction to dithering images
- Dithering an image using the Floyd–Steinberg algorithm in C#
- Dithering an image using the Burkes algorithm in C#
- Even more algorithms for dithering images using C#
- Finding nearest colors using Euclidean distance
DHALF.TXT
was obtained from http://www.efg2.com/Lab/Library/ImageProcessing/DHALF.TXT
DITHER.TXT
was obtained from http://cd.textfiles.com/graphics16000/FORMATS/GIF/DITHER2.TXT
Referenced, but missing - if you find copies of these documents let me know!
- BURKES.ARC
- NUDTHR.ARC
- IDTVGA.TXT
- DGIF.ZIP
An example of Atkinson error diffusion, this time used in conjunction with a 256 fixed palette quantization.
An example of ordering dithering using an 8x8 Bayer matrix, demonstrating the classic hatching patterns associated with this style of dithering.