From 4ce1ba30cfcc8d53adea400e476fc2c513da7106 Mon Sep 17 00:00:00 2001 From: morefigs Date: Mon, 4 Aug 2014 13:21:49 +1000 Subject: Revert "Update vimbaframe.py" This reverts commit 6650922d1e94f21091354320a3914084b473fd11. --- pymba/vimbaframe.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pymba/vimbaframe.py b/pymba/vimbaframe.py index 24f2dd7..c65f160 100644 --- a/pymba/vimbaframe.py +++ b/pymba/vimbaframe.py @@ -105,7 +105,7 @@ class VimbaFrame(object): POINTER(c_ubyte * self.payloadSize)) # make array of c_ubytes from buffer + array = (c_ubyte * self.height * self.width).from_address(addressof(data.contents)) - # ^ TODO for RGB try array = (c_ubyte * self.height * self.width * 3).from_address(addressof(data.contents)) return array -- cgit v1.2.3