Skip to content

Conversation

@radarhere
Copy link
Member

After the mode is set in WmfStubImageFile._open(),

self._mode = "RGB"

there is no need to set it again in WmfHandler.open()

im._mode = "RGB"

@hugovk hugovk changed the title Removed unnecessary code Remove unnecessary code in WmfHandler Jan 30, 2026
@hugovk hugovk merged commit fc4dbc3 into python-pillow:main Jan 30, 2026
56 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants