Andrew Murray

Results 764 comments of Andrew Murray

From your description, you have a CMYK image that is 360 by 409, with 557168 bytes of ICC profile data. Given the code you're referencing, you're trying to save it...

When I run your code, I also get the error "Suspension not allowed here". Googling, I found https://intellipaat.com/community/16184/how-to-save-progressive-jpeg-using-python-pil-1-1-7, which had an interesting suggestion - increasing the `MAXBLOCK` size. The following...

Thanks very much for the reproduction, but isn't this just a simple case of hitting the `MAXBLOCK` limit? Sure, we could increase it dynamically like the original poster suggested, but...

I've created PR #7111 to resolve this.

When trying to save a I;16S TIFF image, the user at the start of this issue attempted to create an I;16S image. They were hindered by the fact that I;16S...

#7425 and #7489 would also like custom exceptions instead of `OSError`s.

> I've also found [this SO entry](https://stackoverflow.com/questions/41718892/pillow-resizing-a-gif) where a user went from a 2MB GIF to a 7.5MB GIF _after resizing_ There isn't a complete example in the StackOverflow post...

I'm hoping that between #5291 in Pillow 8.2.0 and #7568 in the upcoming Pillow 10.2.0 (reducing https://github.com/python-pillow/Pillow/issues/617#issuecomment-1188984138 from 408kb to 345kb), the GIF filesize concerns in this issue are now...

An answer to the above question of how to install the proof-of-concept can be found at https://github.com/python-pillow/Pillow/pull/6926#issuecomment-1637151405