Function image::imageops::colorops::grayscale
[-] [+]
[src]
pub fn grayscale<'a, I: GenericImage>(image: &I) -> ImageBuffer<Luma<I::Subpixel>, Vec<I::Subpixel>> where I::Subpixel: 'static, I::Subpixel::FromStrRadixErr: 'static
Convert the supplied image to grayscale