hms-dbmi / viv

Library for multiscale visualization of high-resolution multiplexed bioimaging data on the web. Directly renders Zarr and OME-TIFF.
http://avivator.gehlenborglab.org
MIT License
274 stars 42 forks source link

feat: Support mutifile & multiscale OME-TIFF #748

Closed manzt closed 7 months ago

manzt commented 9 months ago

Extends on #740

This release PR Viv's multifile OME-TIFF data-loading capabilities to multiscale TIFFs as well. The loadOmeTiff utility now recognizes and loads multiresolution images described in a companion.ome metadata file.

The API stays the same for end users. Multifile OME-TIFFs are detected from URLs with path suffixes of *companion.ome.

import { loadOmeTiff } from '@vivjs/loaders';

let loader = await loadOmeTiff("http://localhost:8080/data.companion.ome");