You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have a PNG image file that I wanted to open. It's fine with Pillow 5.3 but not with 5.4 or 5.4.1.
I thought #3535 was going to fix this as well but it did not. Here's the exception:
Traceback (most recent call last):
File "<input>", line 1, in <module>
File "/home/user/.local/share/virtualenvs/proj/lib/python3.7/site-packages/PIL/ImageFile.py", line 252, in load
self.load_end()
File "/home/user/.local/share/virtualenvs/proj/lib/python3.7/site-packages/PIL/PngImagePlugin.py", line 680, in load_end
self.png.call(cid, pos, length)
File "/home/user/.local/share/virtualenvs/proj/lib/python3.7/site-packages/PIL/PngImagePlugin.py", line 140, in call
return getattr(self, "chunk_" + cid.decode('ascii'))(pos, length)
AttributeError: 'PngStream' object has no attribute 'chunk_exIf'
OS: Arch Linux
Python: 3.7.2
Pillow: 5.4.1
from PIL import Image
im = Image.open('breaking_pillow_png_exif.png')
im.load() # raises AttributeError with 5.4+
The text was updated successfully, but these errors were encountered:
I have a PNG image file that I wanted to open. It's fine with Pillow 5.3 but not with 5.4 or 5.4.1.
I thought #3535 was going to fix this as well but it did not. Here's the exception:
The text was updated successfully, but these errors were encountered: