Andrew Murray
Andrew Murray
Note that PR #3338 added a fix for #1765, so this PR will have to consider that change, or maybe just revert it in favour of this work.
I found an undefined variable in the sample code, so I'm providing a version here that is fixed, simpler, and also provides easier inspection of the result. ```python from PIL...
Thanks to #4918, the error is no longer raised.
@gofr in it's final form, was #4918 still just a "partial fix" for this, or do you think this is fully resolved?
Just to state it in this issue - if Travis CI ever does run out of credits, https://github.com/python-pillow/pillow-wheels/pull/247 can be used to move the aarch64 jobs to GitHub Actions, albeit...
Pillow 9.3.0 has just been released - the first release with Windows wheels generated by our CIs.
Yes. There is [`# fmt: off`](https://github.com/python-pillow/Pillow/blob/3b0f046c5a26eec8b5c9901e719f82500a4000fa/src/PIL/PalmImagePlugin.py#L14) and [`# fmt: on`](https://github.com/python-pillow/Pillow/blob/3b0f046c5a26eec8b5c9901e719f82500a4000fa/src/PIL/PalmImagePlugin.py#L80). See https://black.readthedocs.io/en/stable/the_black_code_style/current_style.html#code-style for documentation.
With regards to the floating point data, if I change if from `2**16-1` to `2**8-1`, it works fine. ```python import numpy from PIL import Image img = Image.open('/Users/andrewmurray/Desktop/16bit_image.png') img_float =...
With regards to the first part, I've created PR #3838 to address this.