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.
WmfHandler
1 parent 0e8bb72 commit fc4dbc3Copy full SHA for fc4dbc3
1 file changed
src/PIL/WmfImagePlugin.py
@@ -45,7 +45,6 @@ def register_handler(handler: ImageFile.StubHandler | None) -> None:
45
46
class WmfHandler(ImageFile.StubHandler):
47
def open(self, im: ImageFile.StubImageFile) -> None:
48
- im._mode = "RGB"
49
self.bbox = im.info["wmf_bbox"]
50
51
def load(self, im: ImageFile.StubImageFile) -> Image.Image:
0 commit comments