Andrew Murray

Results 761 comments of Andrew Murray

> It will be consistent with many other libraries that work with file-like objects (zipfile, olefile, lxml etc.) I can't find how this applies to lxml. Yes, zipfile works as...

Ah, there hasn't been a release since https://github.com/decalage2/olefile/pull/121. Interesting

You're unable to attach the images themselves?

I wouldn't necessarily worry about the ok image, just the broken one. You could create a GitHub repo and use the command line to commit and push the 30mb image....

Debugging further, I get ``` Traceback (most recent call last): File "PIL/TiffImagePlugin.py", line 1263, in _setup KeyError: (b'II', 2, (2, 2, 2), 1, (8, 8, 8), ()) ``` All three...

Oh, I didn't mean the images were exactly the same. I meant they all have `(b'II', 2, (2, 2, 2), 1, (8, 8, 8), ())`. And I don't want you...

@cipri-tom if I deduct the 2 extra samples from the 3 samples per pixel, then I get one channel left. Is the image grayscale? I tried loading it as I;16S,...

I've come to the conclusion that these images fall into the category of #1888.

Just a direct link to the sample image - https://downloads.openmicroscopy.org/images/OME-TIFF/2016-06/bioformats-artificial/single-channel.ome.tiff

Interestingly, Pillow would match your expectations, except that the image has a [depth of 1](https://github.com/python-pillow/Pillow/blob/5fc3b6e5bbe6396246004b48e32afa1e19be231d/src/PIL/EpsImagePlugin.py#L291-L298). So then instead, it is using 'BoundingBox' instead of 'ImageData', and setting the image to...