Module bindings

Source
Expand description

This module contains the bindings of the OpenSlide library and its rust wrappers.

The api of the wrappers should be consistent with the C API of OpenSlide https://openslide.org/api/openslide_8h.html.

For a more rust convenient api, use the OpenSlide struct.

Enums§

OpenSlideT
Dummy type for the openslide_t type in OpenSlide

Functions§

close
Close an OpenSlide object.
detect_vendor
Quickly determine whether a whole slide image is recognized.
get_best_level_for_downsample
Get the best level to use for displaying the given downsample.
get_level0_dimensions
Get the dimensions of level 0 (the largest level).
get_level_count
Get the number of levels in the whole slide image.
get_level_dimensions
Get the dimensions of a level.
get_level_downsample
Get the downsampling factor of a given level.
get_property_names
Get the NULL-terminated array of property names.
get_property_value
Get the value of a single property.
open
Open a whole slide image.
read_region
Copy pre-multiplied ARGB data from a whole slide image.