We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 086e05f + 4eb89f8 commit 90f115cCopy full SHA for 90f115c
src/PIL/WmfImagePlugin.py
@@ -81,7 +81,7 @@ class WmfStubImageFile(ImageFile.StubImageFile):
81
82
def _open(self) -> None:
83
# check placable header
84
- s = self.fp.read(80)
+ s = self.fp.read(44)
85
86
if s.startswith(b"\xd7\xcd\xc6\x9a\x00\x00"):
87
# placeable windows metafile
0 commit comments