The napari hub is transitioning to a community-run implementation due to launch in June 2025.
Since October 1, 2024, this version is no longer actively maintained and will not be updated. New plugins and plugin updates will continue to be listed.

napari-dzi-zarr

napari-dzi-zarr

An experimental plugin for viewing Deep Zoom Images (DZI) with napari and zarr.

License PyPI Python Version tests

An experimental plugin for viewing Deep Zoom Images (DZI) with napari + zarr + dask.


This napari plugin was generated with Cookiecutter using with @napari's cookiecutter-napari-plugin template.

Description

The DZI File Format is a pyramidal tile source specification where individual tiles are RGB/RGBA JPEG/PNG images. DZI is a very popular tile source for zoomable web-viewers like OpenSeadragon, and as a result many tile sources are available over HTTP. This plugin wraps a DZI tile source (local or remote) as a multiscale Zarr, where each pyramidal level is a zarr.Array of shape (level_height, level_width, 3/4), allowing the same images to be viewed in napari + dask.

Installation

You can install napari-dzi-zarr via pip:

pip install napari-dzi-zarr

Usage

This high-resolution scan of Rembrandt's Night Watch is available thanks to R.G Erdmann. More examples can be found on boschproject.org.

$ napari http://hyper-resolution.org/dzi/Rijksmuseum/SK-C-5/SK-C-5_VIS_20-um_2019-12-21.dzi

Rembrandt's Night Watch in napari

Contributing

Contributions are very welcome. Tests can be run with tox.

License

Distributed under the terms of the BSD-3 license, "napari-dzi-zarr" is free and open source software

Issues

If you encounter any problems, please file an issue along with a detailed description.

Version:

  • 0.1.2

Last updated:

  • 06 April 2021

First released:

  • 20 August 2020

License:

Supported data:

  • Information not submitted

Plugin type:

Open extension:

GitHub activity:

  • Stars: 7
  • Forks: 2
  • Issues + PRs: 4

Python versions supported:

Operating system:

Requirements:

  • napari-plugin-engine (>=0.1.4)
  • numpy (>=0.1.19)
  • zarr (>=0.2.4)
  • dask[array] (>=2.23.0)
  • fsspec (>=0.8.0)
  • requests (>=2.24.0)
  • aiohttp (>=3.6.2)
  • imageio (>=2.9.0)