celiagg provides a simple, stateless canvas object that uses Anti-Grain Geometry 2.4 <svn://svn.code.sf.net/p/agg/svn> with Cython to render directly into a Numpy array.
A respectably modern C++ compiler is required to build celiagg
pip install celiagg
should do the trick.
Building from source with the Freetype font library on macOS requires the pkg-config tool which can be installed via Homebrew, MacPorts, or other macOS package management systems.
To build without text support, set the CELIAGG_NO_TEXT_RENDERING
environment variable while building, eg.
CELIAGG_NO_TEXT_RENDERING=1 pip install celiagg
- Numpy
- Cython (build-time only)
- Freetype2 (optional)
- Harfbuzz (optional)
We encourage contributions to celiagg! If you would like to contribute, just fork the repository on GitHub, make your changes, and issue a pull request.
celiagg started as pyagg (https://github.com/erikhvatum/pyagg) but was renamed to avoid clashing with PyAgg (https://github.com/karimbahgat/PyAgg).
celiagg is a play on Celiac (Anti grain...) and AGG (Anti-Grain Geometry).