Dynamic image creation for the web...
maxerickson at gmail.com
Sun Aug 28 15:42:34 CEST 2005
Tompa <tompa1969 at yahoo.com> wrote in
news:mailman.86.1125225066.8229.python-list at python.org:
> I would like to create images on the fly as a response to an http
> request. I can do this with PIL like this (file create_gif.py):
> from PIL import Image, ImageDraw
check out sparklines:
It is a script very similar to what you want to do.
The difference between your script and sparklines is mostly that it
print "Content-type: image/png"
print 'Content-type: text/html'
More information about the Python-list