Function plot_interface::dependency::image::imageops::grayscale
[−]pub fn grayscale<I>(
image: &I
) -> ImageBuffer<Luma<<<I as GenericImageView>::Pixel as Pixel>::Subpixel>, Vec<<<I as GenericImageView>::Pixel as Pixel>::Subpixel, Global>> where
I: GenericImageView,
Expand description
Convert the supplied image to grayscale. Alpha channel is discarded.