Closed pyanchesko closed 3 years ago
I think this should be merged, the Pillow docs say the following about .close()
:
This operation will destroy the image core and release its memory. The image data will be unusable afterward.
This function is required to close images that have multiple frames or have not had their file read and closed by the load() method. See File Handling in Pillow for more information.
https://pillow.readthedocs.io/en/stable/reference/Image.html#PIL.Image.Image.close
It doesn't really make sense to have a method that returns unusable image data.
563