Movatterモバイル変換


[0]ホーム

URL:


ContentsMenuExpandLight modeDark modeAuto light/dark, in light modeAuto light/dark, in dark modeSkip to content
Pillow (PIL Fork) 12.0.0 documentation
Light LogoDark Logo
Pillow (PIL Fork) 12.0.0 documentation
Back to top

7.1.1 (2020-04-02)

Fix regression seeking PNG files

This fixes a regression introduced in 7.1.0 when adding support for APNG files when callingseek andtell:

>>>fromPILimportImage>>>withImage.open("Tests/images/hopper.png")asim:...im.seek(0)...Traceback (most recent call last):  File"<stdin>", line2, in<module>  File"/Library/Frameworks/Python.framework/Versions/3.8/lib/python3.8/site-packages/PIL/PngImagePlugin.py", line739, inseekifnotself._seek_check(frame):  File"/Library/Frameworks/Python.framework/Versions/3.8/lib/python3.8/site-packages/PIL/ImageFile.py", line306, in_seek_checkreturnself.tell()!=frame  File"/Library/Frameworks/Python.framework/Versions/3.8/lib/python3.8/site-packages/PIL/PngImagePlugin.py", line827, intellreturnself.__frameAttributeError:'PngImageFile' object has no attribute '_PngImageFile__frame'>>>
On this page

[8]ページ先頭

©2009-2025 Movatter.jp