Repository navigation
Replies: 1 comment 1 reply
Thank you! Is that the same code that is in the release? If so, I'd say it's probably better off as a plugin. Looks like it's already in our list. |
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
I've spent a bit of time making a pure-Python Windows MetaFile loader. It's a Pillow plugin backed by a recording GDI device, which is basically what WMFs were - just a trace of draw commands saved to a file. It's tested pixel-perfect (bar fonts) against bitmaps created on a Windows GitHub runner, but obviously won't be a perfect replacement for the Windows libraries as they're a bottomless pit of machine-specifics.
We're currently adding EMF support, and plan to do GDI+/EMF+ in future.
Is pure-python WMF/EMF/+ something that Pillow would be interested in as a PR? If so I'd be happy to donate the code.
All reactions