Marcus Goldfish wrote: > I use ctypes to capture a device-dependent bitmap in Win32 (~600x400, > 32bpp), and I would like to process it using PIL. I need a fast way > to convert the DDB to a PIL Image-- any solutions or suggestions > (ctypes, win32 solutions acceptable])? > > "Fast" means that I need to be able to convert the image in << 1 second.
if you can convert it to a DIB, you can use the BmpImageFile.DibImageFile constructor. see the ImageGrab module for sample code. </F> _______________________________________________ Image-SIG maillist - [email protected] http://mail.python.org/mailman/listinfo/image-sig
