[Image-SIG] PIL, popen, and GTK
by Phillip Neumann other posts by this author
Jun 23 2004 6:33PM messages near this date
RE: [Image-SIG] Re: Spam on list
|
[Image-SIG] Re: PIL, popen, and GTK
Hello.
Im trying to develop my program with PIL.
Im popen a command, qcamshot, that gives me an ppm image from the
webcam. The ides is to process it with PIL, and show it with Py-GTK.
1) how do i get a pil image from memory? i.e. from
ppm = popen(' qcamshot','r').read()
2) ones i get a pil image, how would i display it to a gtk.Image
widget?
the idea is to not use file. Wana do it all in memory..
Thank you in advance,
--
Phillip Neumann <bob@[...].cl>
_______________________________________________
Image-SIG maillist - Image-SIG@[...].org
http://mail.python.org/mailman/listinfo/image-sig
Thread:
Phillip Neumann
Fredrik Lundh
|