tiled icon indicating copy to clipboard operation
tiled copied to clipboard

Support TIFF sequences out of the box.

Open danielballan opened this issue 4 years ago • 1 comments

Currently, the basic usage

tiled serve directory ...

does not support TIFF sequences. You need a configuration like

# config.yml
trees:
  - tree: files
    path: /
    args:
      directory: ...
      subdirectory_handler: tiled.readers.tiff_sequence:subdirectory_handler  # detect directories of TIFF sequences
tiled serve config config.yml

Once we have confidence in tiled.readers.tiff_sequence:subdirectory_handler, and perhaps after we have a couple more examples of subdirectory_handler under our belt, we should consider configuring a default subdirectory_handler that handles TIFF sequences and other multi-file data sources like Zarr and TileDB, out of the box.

danielballan avatar Aug 25 '21 19:08 danielballan

Also, note that because of #68, the directory (or directories) full of TIFFs have to be at least one level below the directory served, as in:

data/
  images/
     img_00001.tiff
     img_00002.tiff
     ...
# config.yml
trees:
  - tree: files
    path: /
    args:
      directory: data/
      subdirectory_handler: tiled.readers.tiff_sequence:subdirectory_handler  # detect directories of TIFF sequences

If you place the directory of TIFFs at the root of what is served, as in:

directory: data/images/

it won't work. This is just a quirk that needs to be resolved.

danielballan avatar Oct 07 '21 15:10 danielballan

TIFF sequences are now supported out of the box, and all the limitations noted above were addressed in #511

danielballan avatar Jul 21 '23 00:07 danielballan