aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--pymba/vimbaframe.py2
1 files changed, 1 insertions, 1 deletions
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