Tompa <[EMAIL PROTECTED]> wrote in
news:[EMAIL PROTECTED]: 

> Hi,
> 
> 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:

http://bitworking.org/projects/sparklines/

It is a script very similar to what you want to do.

The difference between your script and sparklines is mostly that it 
sends:

    print "Content-type: image/png"

instead of:

    print 'Content-type: text/html'


max
-- 
http://mail.python.org/mailman/listinfo/python-list

Reply via email to