diff --git a/src/PIL/WmfImagePlugin.py b/src/PIL/WmfImagePlugin.py index 3ae86242a8b..a85c62a9342 100644 --- a/src/PIL/WmfImagePlugin.py +++ b/src/PIL/WmfImagePlugin.py @@ -45,7 +45,6 @@ def register_handler(handler: ImageFile.StubHandler | None) -> None: class WmfHandler(ImageFile.StubHandler): def open(self, im: ImageFile.StubImageFile) -> None: - im._mode = "RGB" self.bbox = im.info["wmf_bbox"] def load(self, im: ImageFile.StubImageFile) -> Image.Image: