

Image moduleImageChops (“channel operations”) moduleImageCms moduleImageColor moduleImageDraw moduleImageEnhance moduleImageFile moduleImageFilter moduleImageFont moduleImageGrab moduleImageMath moduleImageMorph moduleImageOps moduleImagePalette moduleImagePath moduleImageQt moduleImageSequence moduleImageShow moduleImageStat moduleImageText moduleImageTk moduleImageTransform moduleImageWin module (Windows-only)ExifTags moduleTiffTags moduleJpegPresets modulePSDraw modulePixelAccess classfeatures moduleThis 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'>>>