cosmic::iced_winit::graphics::image::image_rs::imageops

Function blur

source
pub fn blur<I>(
    image: &I,
    sigma: f32,
) -> ImageBuffer<<I as GenericImageView>::Pixel, Vec<<<I as GenericImageView>::Pixel as Pixel>::Subpixel>>
where I: GenericImageView, <I as GenericImageView>::Pixel: 'static,
Expand description

Performs a Gaussian blur on the supplied image. sigma is a measure of how much to blur by.