ome / omero-downloader

An OMERO client for downloading data in bulk from the server.
https://www.openmicroscopy.org/omero/apps/
GNU General Public License v2.0
4 stars 5 forks source link

Write TIFF tiles sequentially. #32

Closed mtbc closed 4 years ago

mtbc commented 4 years ago

Final fix for https://github.com/ome/omero-downloader/issues/17 superseding #10. Test using the file exports scenario (note the initial "Preparation" section) or otherwise test (OME-)TIFF export with images including big ones and 5D ones, viewing the images to make sure that they look correctly exported.

dominikl commented 4 years ago

Tested together with #31 against py3-ci and demoserver. Exported and reimported our 8kx8k jpeg file as tif. Exported and reimported https://downloads.openmicroscopy.org/images/DV/P-TRE_14_R3D_D3D.dv which unfortunately is only a 4D image. Both worked fine 👍 If you can point me to a 5D example image, then I can give that a quick test too.

mtbc commented 4 years ago

data_repo/test_images_good/zeiss-lsm/2chZT.lsm

dominikl commented 4 years ago

Thanks. Works fine too 👍 Was surprised that the tif export and reimport also preserves the pixel size, although only X and Y, not Z. ome-tiff preserves all pixel metadata and channel names, as expected (see 2chZT.lsm on https://py3-ci.openmicroscopy.org/web/webclient/?show=dataset-5369 as user-3). Anyway, good to merge from my point of view.