mirror of
https://github.com/python-pillow/Pillow.git
synced 2025-02-18 20:41:02 +03:00
We were encountering some errors when saving specific JPEG images. The error was shown in stderr as: IOError: encoder error -2 when writing image file And on stdout it printed: Suspension not allowed here The problem was the bufsize not contemplating the icc_profile block.
500 KiB
500 KiB
![](/python-pillow/Pillow/raw/commit/c61e5502da59722b68ec18dd7f41c6b2dce1d5b3/Tests/images/icc_profile_big.jpg)