Re: [python-win32] 2D array from win32com (Tim Roberts)

2017-02-19 Thread Filippo Scotti
; To: "[email protected]" > Subject: Re: [python-win32] 2D array from win32com > Message-ID: <[email protected]> > Content-Type: text/plain; charset="utf-8" > > Filippo Scotti wrote: > > > > I am expecting a 720x48

Re: [python-win32] 2D array from win32com

2017-02-19 Thread Filippo Scotti
Hello Tim, thank you for your response. This is the ActiveGige SDK by A&B. The method description only says it returns the 2D array of image buffer values with a return value type Variant (SAFEARRAY). Thanks, Filippo ___ python-win32 mailing list python-

Re: [python-win32] 2D array from win32com

2017-02-17 Thread Tim Roberts
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 c

[python-win32] 2D array from win32com

2017-02-16 Thread Filippo Scotti
Hello, 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?