[Image-SIG] PIL, popen, and GTK

Phillip Neumann bob at sofsis.cl
Wed Jun 23 14:33:20 EDT 2004


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 at sofsis.cl>




More information about the Image-SIG mailing list