mirror of
https://github.com/python-pillow/Pillow.git
synced 2026-02-02 13:36:00 +03:00
Remove unnecessary code in WmfHandler (#9411)
Co-authored-by: Andrew Murray <radarhere@users.noreply.github.com>
This commit is contained in:
parent
0e8bb72a66
commit
fc4dbc3810
|
|
@ -45,7 +45,6 @@ if hasattr(Image.core, "drawwmf"):
|
|||
|
||||
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:
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user