Filippo Scotti wrote: > > I am expecting a 720x480 array (safearray, 1 byte/pixel) from the > method below from a camera SDK but win32com is returning a byte buffer > of size 720. Extracting the data from the buffer I can get pixel > values of only 1 row of pixels and not the entire 2D array. How can I > get the 2D array?
Which camera SDK is this? Do you know exactly what this API is returning? Is it a SAFEARRAY of SAFEARRAYs, or have they cheated by returning something else? Two dimensional arrays are not trivial in COM. I write USB camera drivers, and the APIs I've done return the frames as one large vector. -- Tim Roberts, t...@probo.com Providenza & Boekelheide, Inc. _______________________________________________ python-win32 mailing list python-win32@python.org https://mail.python.org/mailman/listinfo/python-win32