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

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

Convert the supplied image to grayscale