Skip to content

Commit fc4dbc3

Browse files
authored
Remove unnecessary code in WmfHandler (#9411)
Co-authored-by: Andrew Murray <radarhere@users.noreply.github.com>
1 parent 0e8bb72 commit fc4dbc3

1 file changed

Lines changed: 0 additions & 1 deletion

File tree

src/PIL/WmfImagePlugin.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,6 @@ def register_handler(handler: ImageFile.StubHandler | None) -> None:
4545

4646
class WmfHandler(ImageFile.StubHandler):
4747
def open(self, im: ImageFile.StubImageFile) -> None:
48-
im._mode = "RGB"
4948
self.bbox = im.info["wmf_bbox"]
5049

5150
def load(self, im: ImageFile.StubImageFile) -> Image.Image:

0 commit comments

Comments
 (0)