ASPN ActiveState Programmer Network
ActiveState
/ Home / Perl / PHP / Python / Tcl / XSLT /
/ Safari / My ASPN /
Cookbooks | Documentation | Mailing Lists | Modules | News Feeds | Products | User Groups


Recent Messages
List Archives
About the List
List Leaders
Subscription Options

View Subscriptions
Help

View by Topic
ActiveState
.NET Framework
Open Source
Perl
PHP
Python
Tcl
Web Services
XML & XSLT

View by Category
Database
General
SOAP
System Administration
Tools
User Interfaces
Web Programming
XML Programming


MyASPN >> Mail Archive >> image-sig
image-sig
[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

Privacy Policy | Email Opt-out | Feedback | Syndication
© ActiveState Software Inc. All rights reserved