[Image-SIG] antialiased lines and polygons

Fredrik Lundh fredrik at pythonware.com
Wed Nov 12 10:22:15 CET 2008


Laura & Edward Cannon wrote:

> A quick question, is their a way to get an antialiased line or polygon
> in PIL? I draw my shapes just fine, but the edges are jagged. Some
> packages I know can antialias to reduce the appearance of
> pixelization, is PIL one of those?

there's no built-in support for antialiasing (yet), but the aggdraw 
bindings for the AGG library work pretty well with PIL:

     http://effbot.org/zone/aggdraw-index.htm

</F>



More information about the Image-SIG mailing list