paul sorenson wrote: >I am trying to communicate with a COM interface which, among other > things, provides an IPicture. > > I can read the IPicture attribute without too much trouble but it is not > clear to me how one goes about accessing the image data in python. If > anyone has any tips that would be most helpful. >
According to MSDN, the IPicture interface exposes the bitmap handle, so you should be able to use win32ui.CreateBitmapFromHandle, and then PyBitmap.GetBitmapBits to get the raw data. Roger _______________________________________________ Python-win32 mailing list Python-win32@python.org http://mail.python.org/mailman/listinfo/python-win32