Skip to content

celiagg/celiagg

Repository files navigation

celiagg

PyPI Build status

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

Documentation!

Installation

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

Dependencies

  • Numpy
  • Cython (build-time only)
  • Freetype2 (optional)

Contributing

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.

History

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).