Closed haesleinhuepf closed 2 years ago
I guess this is due to a second ImageDescription tag that does not contain ASCII but binary data. I have one of those cases here but it passes because all values happen to be below 128... Replacing line 5928 https://github.com/cgohlke/tifffile/blob/0eadc15ca044429f8af70a59ae9cc5a3d54b18e2/tifffile/tifffile.py#L5928 with
if isinstance(value, str):
self.description1 = value
should fix the issue.
Fixed in v2022.2.2.
Hi Christoph @cgohlke ,
you saw it already on image.sc. I'm experiencing issues when opening a multi-4GB-OME-TIF file in napari and apparently the issue is related to tifffile. I'm receiving the error below. Can you give advice of how to open such a file with python and/or napari?
napari-info