Skip to content

cyotek/Dithering

master
Switch branches/tags

Name already in use

A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
 
 
src
 
 
 
 
 
 
 
 
 
 
 
 

Image Dithering using C#

This sample program demonstrates how to use various algorithms to dither an image using C#.

Sample program screenshot

Please refer to the following articles on cyotek.com for more details

Resources

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

Screenshots

An example of Atkinson error diffusion, this time used in conjunction with a 256 fixed palette quantization.

dithering-atkinson-color

An example of ordering dithering using an 8x8 Bayer matrix, demonstrating the classic hatching patterns associated with this style of dithering.

dithering-bayer8