Displaying images stored as binary in MySQL

Tom B. sbabbitt at commspeed.net
Fri Aug 13 07:47:01 CEST 2004

"Blaktyger" <blaktyger at hotmail.com> wrote in message
news:c9e6ac92.0408122047.1e3a4309 at posting.google.com...
> How can this be done? Images are stored in a LONGBLOB field. When I
> try to display them, it prints out the binary data as it is...
> Thank you
 You could get PIL at http://www.pythonware.com/products/pil/

and try the Image.fromstring() function.


More information about the Python-list mailing list