Re: [Image-SIG] Example Code for Displaying Pictures--I'm Stumped

2009-11-26 Thread Wayne Watson
Thanks. Unfortunately, the fellow that can answer my question left early yesterday, so I won't know exactly the file's structure until Monday. Christopher Barker wrote: Wayne Watson wrote: I didn't know I could post, attach I guess, here. I'll do that later. as long as it's a small file --

Re: [Image-SIG] Example Code for Displaying Pictures--I'm Stumped

2009-11-26 Thread Wayne Watson
Thanks. I'll try to follow up on this soon. Bill Janssen wrote: Another good option is pyglet. I use it for converting video to streams of PIL images. Here's the code for turning a pyglet image into a PIL image: def pyglet_to_pil_image (pyglet_image): image =

[Image-SIG] had to hack setup.py to find tk.h

2009-11-26 Thread Michael P. Soulier
Hi, I'm on an Ubuntu system and I had to add this to setup.py to get PIL to build with the Tk extension. add_directory(include_dirs, /usr/include/tk) as tk.h is not in /usr/include Cheers, Mike -- Michael P. Soulier msoul...@digitaltorque.ca Any intelligent fool can make things bigger and

Re: [Image-SIG] had to hack setup.py to find tk.h

2009-11-26 Thread Fredrik Lundh
Which versions of PIL and Ubuntu? (I'm pretty sure I built this successfully on 9.10.) /F On Thu, Nov 26, 2009 at 3:57 PM, Michael P. Soulier msoul...@digitaltorque.ca wrote: Hi, I'm on an Ubuntu system and I had to add this to setup.py to get PIL to build with the Tk extension.