Andrew Murray

Results 761 comments of Andrew Murray

I've created #8476 as a possible solution to this - rather than ignoring the fact that `layers` was removed by the pickling process, let's make sure it stays present.

Are you able to attach a copy of the image were you found this?

Thanks. I've created #8970 as another possible solution. See what you think.

Here is an overview of the possible solutions suggested so far. 1. When setting ImageFileDirectory_v2 values, instead of just comparing an IFDRational against zero https://github.com/python-pillow/Pillow/blob/086e05f42ff459747c2ceb0e8e046f4b54e4d779/src/PIL/TiffImagePlugin.py#L691 replace it with `if v...

Hi. I'm unable to replicate the problem with Pillow 11.1.0 and the following code. ```python import io from PIL import Image with open("Tests/images/hopper.jpg", "rb") as fp: bytes = fp.read() image...

Thanks. How would you feel about copying the image before saving it, so that the `save()` operation isn't being run in parallel on the same image instance? `lambda: image.copy().save('pillow-logo-248x250.jpg'))`

I don't want to say that Pillow can't operate within threads in general. However, I will say that sharing a image instance across threads may not work. #4848 was a...

Hi. This question has been raised before as #5723. I suggest having a read of that. In terms of our code, when determining a mode and rawmode to use for...

> Why not make a special case for it? There is often a reluctance to change things, for the sake of backwards compatibility. It looks like this behaviour has been...