Function image::imageops::sample::thumbnail_sample_block
source ยท fn thumbnail_sample_block<I, P, S>(
image: &I,
left: u32,
right: u32,
bottom: u32,
top: u32,
) -> (S, S, S, S)
Expand description
Get a pixel for a thumbnail where the input window encloses at least a full pixel.