make images with python
Lawrence D'Oliveiro
ldo at geek-central.gen.new_zealand
Sat Aug 25 08:46:45 EDT 2007
In message <mailman.2012.1187186603.22759.python-list at python.org>, Boris
Borcic wrote:
> Lawrence Oluyede wrote:
>
>> stefano <ssalvatori at gmail.com> wrote:
>>> I need make some images using python but i'm lost :P
>>
>> <http://www.pythonware.com/products/pil/>
>>
>
> If you want to do antialiased drawings into images,
> you might rather want to look for pil at
>
> http://effbot.org/downloads/
>
> and grab PIL together with the aggdraw extension
> (while "core" PIL includes some drawing primitives,
> last time I tried they weren't antialiased).
I see that PIL supports image resizing
<http://www.pythonware.com/library/pil/handbook/image.htm> with filters
that can be used for antialiasing. So just do all your drawing at, say,
200% scale, then downsample with Image.resize to antialias.
More information about the Python-list
mailing list