Function image::imageops::colorops::grayscale [-] [+] [src]

pub fn grayscale<'a, I: GenericImage + 'static>(image: &I) -> ImageBuffer<Luma<<Pixel as Pixel>::Subpixel>, Vec<<Pixel as Pixel>::Subpixel>> where Pixel: 'static, <Pixel as Pixel>::Subpixel: Default + 'static

Convert the supplied image to grayscale