Metadata-Version: 2.4
Name: pillow_wmf
Version: 0.2.1
Summary: A Windows MetaFile loader for Pillow
Author-email: Gareth Davidson <gaz@bitplane.net>
Requires-Python: >=3.13
Description-Content-Type: text/markdown
License-Expression: LicenseRef-WTFPL-With-Warranty AND LGPL-2.1-or-later AND OFL-1.1
Classifier: Development Status :: 3 - Alpha
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3 :: Only
Classifier: Topic :: Multimedia :: Graphics :: Graphics Conversion
License-File: LICENSE.md
License-File: src/pillow_wmf/fonts/OFL.txt
License-File: src/pillow_wmf/fonts/README.md
License-File: src/pillow_wmf/fonts/symbol/COPYING.LIB
License-File: src/pillow_wmf/fonts/symbol/README.md
Requires-Dist: pillow>=12.3
Requires-Dist: fonttools>=4.65
Requires-Dist: freetype-py>=2.5
Requires-Dist: pre-commit ; extra == "dev"
Requires-Dist: pytest ; extra == "dev"
Requires-Dist: coverage ; extra == "dev"
Requires-Dist: pytest-cov ; extra == "dev"
Requires-Dist: build ; extra == "dev"
Requires-Dist: twine ; extra == "dev"
Requires-Dist: ruff==0.16.7 ; extra == "dev"
Requires-Dist: pydoc-markdown ; extra == "dev"
Project-URL: Issues, https://github.com/bitplane/pillow-wmf/issues
Project-URL: Repository, https://github.com/bitplane/pillow-wmf
Provides-Extra: dev

# pillow-wmf

Open Windows Metafiles (WMF) with Pillow.

```sh
pip install pillow-wmf
```

```python
from PIL import Image
import pillow_wmf  # registers the WMF loader

with Image.open("drawing.wmf") as image:
    image.load(size=(640, 480))
    image.save("drawing.png")
```

Omit the `load()` call to use the default size.

## License

[Code](LICENSE.md) · [Wingdings fallback](src/pillow_wmf/fonts/OFL.txt) ·
[Wine Symbol](src/pillow_wmf/fonts/symbol/COPYING.LIB)

