#22 Fix bytearray errors
This commit is contained in:
@@ -17,14 +17,14 @@ class PiCam:
|
||||
"""
|
||||
self.preview_resolution = resolution
|
||||
|
||||
def capture(self) -> bytes:
|
||||
def capture(self) -> bytearray:
|
||||
"""Capture an image
|
||||
|
||||
:returns: Image data as a byte buffer
|
||||
"""
|
||||
raise NotImplementedError
|
||||
|
||||
def capture_preview(self) -> bytes:
|
||||
def capture_preview(self) -> bytearray:
|
||||
"""Capture a preview image for the viewfinder
|
||||
|
||||
:returns: Image data as a byte buffer
|
||||
|
||||
Reference in New Issue
Block a user