diff --git a/photobooth/camera/CameraPicamera.py b/photobooth/camera/CameraPicamera.py index 77a0e67..0622b88 100644 --- a/photobooth/camera/CameraPicamera.py +++ b/photobooth/camera/CameraPicamera.py @@ -61,7 +61,7 @@ class CameraPicamera(CameraInterface): self.setActive() stream = io.BytesIO() self._cap.capture(stream, format='jpeg', use_video_port=True, - resolution=self._preview_resolution) + resize=self._preview_resolution) stream.seek(0) return Image.open(stream)