Skip to content

Releases: Nycto/dither-nim

0.2.0

29 Dec 22:18

Choose a tag to compare

  • Update general dither method to include a quantizer
  • Add built in support for grey scale palettes
  • Formatting cleanup

0.1.0

05 Feb 17:05

Choose a tag to compare

Initial release, supporting two primary classifications of algorithms:

  1. Ordered Dithering: This is a fast dithering algorithm that uses a matrix of predefined values to vary what color is selected.
  2. Error Diffusion: A slightly slower dithering algorithm that tracks the error incurred when a color is clamped to the palette, then distributes that error to surrounding pixels.