[−]Function iconwriter::imageops::blur
pub fn blur<I>(
image: &I,
sigma: f32
) -> ImageBuffer<<I as GenericImage>::Pixel, Vec<<<I as GenericImage>::Pixel as Pixel>::Subpixel, Global>> where
I: 'static + GenericImage,
<I as GenericImage>::Pixel: 'static,
<<I as GenericImage>::Pixel as Pixel>::Subpixel: 'static,
Performs a Gaussian blur on the supplied image.
sigma
is a measure of how much to blur by.