The aggdraw Module

Updated June 20, 2005 | Fredrik Lundh

 

Updated 2006-02-12: aggdraw 1.2a3 is now available. This version provides additional support for drawing on Windows. It also fixes a number of issues with earlier 1.2 alpha releases.

Updated 2005-10-15: aggdraw 1.1 final is now available. Changes include performance improvements, path objects, and a number of bug fixes.

The aggdraw module implements the basic WCK 2D Drawing Interface on top of the AGG library. This library provides high-quality drawing, with anti-aliasing and alpha compositing, while being fully compatible with the WCK renderer.

The aggdraw module can be used with PIL or the WCK library (under Tkinter or native Windows). It can also be used as a stand-alone library.

Downloads

The aggdraw module can be downloaded from the effbot.org downloads site.

Alternatively, you can get the latest development version via subversion:

$ svn co http://svn.effbot.org/public/aggdraw/

Documentation

Examples

Example: A slightly rotated Tiger vector image rendered on top of a PIL image.

A Django site. rendered by a django application. hosted by webfaction.