pyramid¶

Tile pyramid generation in standard formats.

Included methods are DeepZoom and Zoomify in addition to a generic method.

These are generally intended for serialisation or streaming via a web UI. The get_tile method returns a Pillow Image object which can be easily serialised via the use of an io.BytesIO object or saved directly to disk.

Classes

AnnotationTileGenerator

Define AnnotationTileGenerator for rendering AnnotationStore.

TilePyramidGenerator

Generic tile pyramid generator with sensible defaults.

ZoomifyGenerator

Pyramid tile generator with extra Zoomify specific methods.