Re: Dynamic image creation for the web...

2005-08-28 Thread Tompa
uff... I will check it out - thanks! Regards, /Tompa -- http://mail.python.org/mailman/listinfo/python-list

Re: Dynamic image creation for the web...

2005-08-28 Thread Tompa
atus: 200 OK\r\n') sys.stdout.write('Content-type: image/gif\r\n') sys.stdout.write('\r\n') im.save(sys.stdout, "GIF") But it does not work for some reason!? Besides, I was hoping for a solution which could skip the HTTP-header related stuff... Regards, /Tompa -- http://mail.python.org/mailman/listinfo/python-list

Re: Dynamic image creation for the web...

2005-08-28 Thread Tompa
') sys.stdout.write('Content-type: image/gif\r\n') sys.stdout.write('\r\n') im.save(sys.stdout, "GIF") But this does not work. I also tested to skip the HTTP-header stuff and just write the gif to sys.stdout, believing that that would work. But not so... Hmm,

Dynamic image creation for the web...

2005-08-28 Thread Tompa
raw(im) draw.rectangle((0, 0) + im.size, fill="blue") Unfortunately this does not work :-( What is missing? Thanks in advance! /Tompa -- http://mail.python.org/mailman/listinfo/python-list