pub unsafe extern "C" fn openslide_get_best_level_for_downsample(
osr: *mut openslide_t,
downsample: f64,
) -> i32Expand description
Get the best level to use for displaying the given downsample.
@param osr The OpenSlide object. @param downsample The downsample factor. @return The level identifier, or -1 if an error occurred. @since 3.3.0