pillow-wmf
A Windows Metafile reader/writer/renderer for Pillow.
Like in the old Windows days, a GDI backend draws graphics and can also record actions to a Windows Metafile. Rasterizing one of these WMFs is just a matter of playing it back, which produces a Pillow Image.
Links
Usage
from PIL import Image
import pillow_wmf # registers the WMF loader ahead of Pillow's built-in stub
with Image.open("drawing.wmf") as image:
image.load(size=(640, 480))
image.save("drawing.png")
License
pillow-wmf is WTFPL with one additional clause:
- Don't blame me.
Fonts have their own licenses, rip them out if you don't want to comply:
Release files for pillow-wmf 0.1.1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| pillow_wmf-0.1.1.tar.gz | 205.4 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| pillow_wmf-0.1.1-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 440.5 kB
Release files / pillow_wmf-0.1.1.tar.gz
| Download URL | pillow_wmf-0.1.1.tar.gz |
|---|---|
| Size | 205.4 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
c2959fe629731e0ddb582a7ec7432c027c8445e2d9c8d799acf3a2a2cdaf4f91
|
|
BLAKE2b-256 checksum How to use checksums |
b72692e7dde89d40b1f32e292027973c8b337488f6de43f9aa1a85207d013f40
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.13.15
|
Release files / pillow_wmf-0.1.1-py3-none-any.whl
| Download URL | pillow_wmf-0.1.1-py3-none-any.whl |
|---|---|
| Size | 235.0 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
8298cd7e154f62f59a09f9766eb514aae68e2e7c5928593ec8b2e56881accc15
|
|
BLAKE2b-256 checksum How to use checksums |
a98cee2de706106856aaaf579d6e14be5c0d8d1375f5532ad595f3f9f6dc5cf2
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.13.15
|