Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Zarr / OME-Zarr support #3517

Open
jcupitt opened this issue May 30, 2023 Discussed in #3516 · 1 comment
Open

Zarr / OME-Zarr support #3517

jcupitt opened this issue May 30, 2023 Discussed in #3516 · 1 comment

Comments

@jcupitt
Copy link
Member

jcupitt commented May 30, 2023

Discussed in #3516

Originally posted by jstriebel May 30, 2023
It would be great if libvips could support Zarr, and possibly also OME-Zarr (also called OME-NGFF) for metadata. Zarr is a chunked storage format and API specification for n-dimensional arrays, and a common format in the bio-imaging and geo-spatial domains, especially for large datasets. Metadata is written in json files, and chunks are stored as separate files by default, optionally compressed by different algorithms, such as gzip or blosc. It is often used in cloud contexts, but also with local files. For libvips, support of local files would be awesome, I'm not sure if and how support of remote storage such as GCP or AWS would fit in.

Zarr just approved the v3 specification, which probably should be considered for implementation instead of v2.

I'm aware of the following C / C++ libraries for Zarr:

OME-Zarr (or OME-NGFF) is the successor to OME-Tiff, which in either case adds a metadata specification and layout structure for microscopy images. Supporting this is not super important IMO, but might be useful for storing relevant metadata, such as resolutions.

It would be great and interesting to hear some thoughts of the maintainers about adding Zarr support. About me: I'm a co-author of the Zarr v3 spec, and happy user of libvips.

@jstriebel
Copy link

jstriebel commented Jul 13, 2023

I just double-checked the different implementations for compatibility with Zarr v3:

@jcupitt Do you think integrating tensorstore would be a viable option? Also ccing @jbms.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants