src/dither

Procs

proc dither[Color, Error](input: InputImage[Color];
                          output: var OutputImage[Color];
                          algorithm: DitherModes; palette: Palette[Color];
                          quantizer: Quantizer[Color, Error])
Applies the a dithering algorithm to input and writes it to output