pub fn grayscale_alpha<I: GenericImageView>(
    image: &I
) -> ImageBuffer<LumaA<<<I as GenericImageView>::Pixel as Pixel>::Subpixel>, Vec<<<I as GenericImageView>::Pixel as Pixel>::Subpixel>>
Expand description

Convert the supplied image to grayscale. Alpha channel is preserved.