Expand description
Contains all the dithering logic for the error propagation based algorithms.
Structs§
- Base
- Every
ErrorPropagatorstarts with a state ofBase. - Error
Propagator - This struct defines an error propagation algorithm. For existing algorithms, the constants should be used instead.
- With
Palette - Once an
ErrorPropagatoracquires a colour palette, it enters theWithPalettestate.
Constants§
- ATKINSON
- The Atkinson error propagation method.
- BURKES
- The Burkes error propagation method.
- FLOYD_
STEINBERG - The Floyd-Steinberg error propagation method.
- JARVIS_
JUDICE_ NINKE - The Jarvis-Judice-Ninke error propagation method.
- SIERRA
- The Sierra error propagation method.
- SIERRA_
LITE - The Sierra (lite) error propagation method. A variant of Sierra.
- SIERRA_
TWO_ ROW - The Sierra (Two Row) error propagation method. A variant of Sierra.
- STUCKI
- The Stucki error propagation method.
Traits§
- Propagator
State - Note: This trait is sealed and should not be used externally.