Python binding to Skia Graphics Library.
- Binding based on pybind11.
Binary package is available on PyPI:
pip install skia-python
Supported platforms: Python 3.8-3.13 (CPython) on
- Linux x86_64, aarch64
- macOS x86_64, arm64
- Windows x86_64
For Linux platforms, there must be OpenGL and fontconfig installed:
apt-get install libfontconfig1 libgl1-mesa-glx libgl1-mesa-dri
Or:
yum install fontconfig mesa-libGL mesa-dri-drivers
For unsupported environment, check the build instruction.
- Showcase
- Canvas Overview
- Canvas Creation
- Path Overview
- Paint Overview
- Python Image I/O
- Drawing Texts
https://kyamagu.github.io/skia-python
-
For information about changes after
m116
, and tips on migration fromm87
: README.m116, README.m117, README.m118, README.m119, README.m120, README.m121, README.m122, README.m123, README.m124, README.m125, README.m126, README.m127, README.m128, README.m129, README.m130, README.m131, README.m132.
Feel free to post an issue or PR.