[Image-SIG] Deliver me from Kludgehood - PIL, filesystems and
Fri, 6 Dec 2002 14:22:44 -0500
Wow! Thanks. This helps!
From: Kevin Cazabon [mailto:firstname.lastname@example.org]
Sent: Friday, December 06, 2002 1:30 PM
To: Shawhan, Doug (CAP, ITS, US)
Subject: Re: [Image-SIG] Deliver me from Kludgehood - PIL, filesystems
Yes, it's easy to send the image over the Internet without writing it to
write the image to a StringIO object, then stream that object with a http
header that reads: "Content-Type: image/jpg" with the size/etc. there.
I do it with one of my scripts, here's the script itself attached (it does
some resizing and stuff too, strip out what you don't need)