Re: [python-win32] screen capture and win32gui.GetDesktopWindow()

2006-12-07 Thread Ray Schumacher
Upon further tries, I can get handles, DCs, and/or Win32 BMPs from the desktop, but I can't get to a DIB from there. Can someone outline the general process that might be required? Ie., get window handle create in/out DCs select bmp to outDC blit inDC data I tried emulating a nice IronPython

Re: [python-win32] screen capture and win32gui.GetDesktopWindow()

2006-12-06 Thread James Matthews
Can you just call a GUI api that interfaces directly with the graphics card? On 12/6/06, Tim Roberts [EMAIL PROTECTED] wrote: Ray Schumacher wrote: I've been mulling screen capture code. I tried PIL's ImageGrab().grab() (with pymedia) but find PIL's method to be pretty slow, ~4grabs per

Re: [python-win32] screen capture and win32gui.GetDesktopWindow()

2006-12-06 Thread Gabriel Genellina
At Wednesday 6/12/2006 21:32, Ray Schumacher wrote: I've been mulling screen capture code. I tried PIL's ImageGrab().grab() (with pymedia) but find PIL's method to be pretty slow, ~4grabs per second max with no other processes. pymedia is pretty quick once I hand it the data. There has to be

Re: [python-win32] screen capture and win32gui.GetDesktopWindow()

2006-12-06 Thread RayS
At 05:02 PM 12/6/2006, Tim Roberts wrote: Ray Schumacher wrote: I've been mulling screen capture code. I tried PIL's ImageGrab().grab() (with pymedia) but find PIL's method to be pretty slow, ~4grabs per second max with no other processes. pymedia is pretty quick once I hand it the data.