Skip to content

Commit

Permalink
Merged PR 5652: GetImageBuffer not available on PylonImage
Browse files Browse the repository at this point in the history
Fixed wrong API call to PylonImage
  • Loading branch information
thiesmoeller committed Nov 6, 2019
2 parents bf783cc + 2ffcbee commit fff2aa6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/pylon/PylonImage.i
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@
shape, dtype, format = self.GetImageFormat(new_pt)
else:
shape, dtype, format = self.GetImageFormat(pt)
buf = self.GetImageBuffer()
buf = self.GetBuffer()

# Now we will copy the data into an array:
return _pylon_numpy.ndarray(shape, dtype = dtype, buffer=buf)
Expand Down

0 comments on commit fff2aa6

Please sign in to comment.