ome/napari-ome-zarr

Write ome-zarr images (feature request)

haesleinhuepf opened this issue · 1 comments

Hi all,

I'm just wondering how complicated it might be to provide a writer for napari. I just tried to save a dataset in napari as "test.zarr" and it was written to disc as "test.zarr.tif".

If you say writing zarr files from napari makes sense, e.g. using this code, I'd be happy to provide a pull-request.

Thanks!

Best,
Robert

Hi @haesleinhuepf.

I'm just wondering how complicated it might be to provide a writer for napari.

Definitely doable. There's recently been a bunch of work in ome/ome-zarr-py#192 to improve support for this (overall speed and the types of data that you can pass in like dask or not dask). It's not released but help testing is very welcome.

I just tried to save a dataset in napari as "test.zarr" and it was written to disc as "test.zarr.tif".

Don't know why that would happen. You clicked on "save" in the UI?

If you say writing zarr files from napari makes sense, e.g. using this code, I'd be happy to provide a pull-request.

Hmmm.... that looks to be "just a zarr" and not an "OME-Zarr" and so I'll defer to you if you want that. If you are interested in writing an NGFF, I'd suggest we use the helper functions from ome-zarr-py.

~Josh