[−][src]Module dither::ditherer
Logic for dithering a loaded, preprocessed Img. See tanner helland's excellent writeup on dithering algorithms for details.
Structs
Ditherer | A type of Dither. See the documentation for the constants (i.e, ATKINSON) for the dither matrices themselves.
A ditherer carries error from quantiation to nearby pixels after dividing by |
ErrorUnknownDitherer | An unknown ditherer name during parsing. |
Constants
ATKINSON | Atkinson dithering. Div=8. |
BURKES | Burkes dithering. Div=32. |
FLOYD_STEINBERG | floyd-steinberg dithering. |
JARVIS_JUDICE_NINKE | jarvis-judice-ninke dithering`. div=48. |
SIERRA_3 | sierra 3 dithering. div=32 |
STUCKI | Stucki dithering. |
Traits
Dither | dither a 2d matrix.
|