openslide_get_level_downsample

Function openslide_get_level_downsample 

Source
pub unsafe extern "C" fn openslide_get_level_downsample(
    osr: *mut openslide_t,
    level: i32,
) -> f64
Expand description

Get the downsampling factor of a given level.

@param osr The OpenSlide object. @param level The desired level. @return The downsampling factor for this level, or -1.0 if an error occurred or the level was out of range. @since 3.3.0