Function cosmic::iced_widget::renderer::graphics::image::image_rs::imageops::interpolate_bilinear
source ยท pub fn interpolate_bilinear<P>(
img: &impl GenericImageView<Pixel = P>,
x: f32,
y: f32,
) -> Option<P>where
P: Pixel,
Expand description
Linearly sample from an image using coordinates in [0, w-1] and [0, h-1].