Christoph Gohlke

Results 175 comments of Christoph Gohlke

Thank you! Your fix looks correct and will be in the next version.

Interesting case. I think `(1, 1, 1, 1024, 1024)` might be the expected shape for dimension order `'TCZYX'`. The file `2MF1P2_glia.tif` was written by `SCIFIO`. It uses a [provisional, undocumented...

How was netCDF4-1.6.0 installed for Python 3.7 on Windows? There are no `netCDF4-1.6.0-cp37-*-win` wheels on PyPI.

Imagecodecs includes a bytesnumpy encoder and decoder for JPEG200 based on the OpenJPEG library. I think it should be relatively easy to take the [Cython code out of imagecodecs](https://github.com/cgohlke/imagecodecs/blob/master/imagecodecs/_jpeg2k.pyx) (BSD...

I didn't try to reproduce this yet, but it looks like this simple roundtrip should work if the output of `ensure_ndarray(buf)` can be cast to `uint8_t[::1]` by Cython, which appears...

I see: `dtype=uint32`. While JPEG 2000 supports 32 and 64 bit integers (up to 38 bits), OpenJPEG doesn't. I obviously never fully tested these cases, only 8 and 16 bit....

Another thought: since this issue is about efficiently compressing image data, you might want to have a look at JPEG-LS via the [CharLS library](https://github.com/team-charls/charls). There's also JPEG-XR (used commonly in...

> All the codecs there can be registered with numcodecs by calling imagecodecs.numcodecs.register_codecs(). We just need a PR there to add the entrypoints, I'm sure it would be accepted. Perhaps...