Expand description
Error diffusion and ordered dithering on raw RGB pixel buffers.
Structs§
- Kernel
- Kernel
Offset - Pixel offset + pre-divided weight for one kernel entry.
Statics§
Functions§
- atkinson
- burkes
- direct_
map - error_
diffusion_ dither - Error diffusion dither. Returns palette indices (len = width × height).
- error_
diffusion_ dither_ with_ canonical - Error diffusion with exact canonical display-color pixels pinned.
- floyd_
steinberg - jarvis_
judice_ ninke - ordered_
dither - Ordered (Bayer 4×4) dither. Pixels are independent — parallelized with rayon.
- ordered_
dither_ with_ canonical - sierra
- sierra_
lite - stucki
- try_
exact_ palette_ map