Struct exoquant::ditherer::None [] [src]

pub struct None;

A Ditherer that simply remaps each pixel to the nearest palette index without any actual dithering.

Trait Implementations

impl Ditherer for None
[src]

fn remap<'a>(&'a self, image: Box<Iterator<Item=Colorf> + 'a>, _: usize, map: &'a ColorMap, _: &'a ColorSpace) -> Box<Iterator<Item=usize> + 'a>

Remaps an iterator of input pixel (float-)colors of an Image to an Iterator of palette indices. Read more