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

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

Convert the supplied image to grayscale