Function image::imageops::sample::thumbnail_sample_fraction_both
source · fn thumbnail_sample_fraction_both<I, P, S>(
image: &I,
left: u32,
fraction_vertical: f32,
bottom: u32,
fraction_horizontal: f32
) -> (S, S, S, S)where
I: GenericImageView<Pixel = P>,
P: Pixel<Subpixel = S>,
S: Primitive + Enlargeable,
Expand description
Get a single pixel for a thumbnail where the input window does not enclose any full pixel.