kyamagu / skia-python

Python binding to Skia Graphics Library
https://kyamagu.github.io/skia-python/
BSD 3-Clause "New" or "Revised" License
231 stars 42 forks source link
graphics python skia skia-library skia-python-binding

Skia python binding

CI PyPI version

Python binding to Skia Graphics Library.

Install

Binary package is available on PyPI:

pip install skia-python

Supported platforms: Python 3.8-3.12 (CPython) on

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.

Examples

Documentation

https://kyamagu.github.io/skia-python

Contributing

Feel free to post an issue or PR.