pub fn dither_floyd_steinberg( width: u16, height: u16, pixels: &[Rgb], palette: &[Rgb], strength: f32, ) -> Vec<u8> ⓘ
Applies perceptual Floyd-Steinberg dithering to a frame.