Function image::imageops::sample::thumbnail_sample_fraction_vertical

source ยท
fn thumbnail_sample_fraction_vertical<I, P, S>(
    image: &I,
    left: u32,
    right: u32,
    bottom: u32,
    fraction_vertical: f32,
) -> (S, S, S, S)
where I: GenericImageView<Pixel = P>, P: Pixel<Subpixel = S>, S: Primitive + Enlargeable,
Expand description

Get a thumbnail pixel where the input window encloses at least a horizontal pixel.