How to draw line on Image?

Claudio Grondi claudio.grondi at freenet.de
Fri Aug 18 13:11:06 EDT 2006


Paul McGuire wrote:
> "David Isaac" <aisaac0 at verizon.net> wrote in message
> news:3CkFg.855$uV.546 at trnddc08...
> 
>>"Daniel Mark" <danielmarkhot at gmail.com> wrote in message
>>news:1155912952.668195.266340 at b28g2000cwb.googlegroups.com...
>>
>>>I want to draw some shapes, such as lines, circles on an image.
>>
>>
>>http://www.pythonware.com/library/pil/handbook/psdraw.htm
>>
>>hth,
>>Alan Isaac
>>
>>
> 
> 
> ImageDraw (http://www.pythonware.com/library/pil/handbook/imagedraw.htm)
> might be more generally helpful than PSDraw.
> 
> -- Paul
> 
> 
And if the quality of the result is important maybe (maybe, because I 
haven't used it yet myself)
aggdraw
an add-on to the PIL library that supports anti-aliased drawing
   http://effbot.org/zone/draw-agg.htm

Claudio Grondi



More information about the Python-list mailing list