[−][src]Function ikon::resample::apply
pub fn apply<F: FnMut(&DynamicImage, u32) -> Result<DynamicImage>>(
filter: F,
source: &DynamicImage,
size: u32
) -> Result<DynamicImage, ResampleError>
Aplies a resampling filter to source
and checks if the dimensions
of the output match the ones specified by size
.