Can't change raw resolution in Bookworm #838
-
I recently installed Raspberry Pi Os Bookworm on my RPi4. I use picamera2 on a Super8 film scanner. With the scanner software it is possible to capture jpg and raw-dng images. With the Bullseye version, picamera2 worked correctly, as I expected. However, with Bookworm I run into an unexpected problem: This is picamera2's response after initially setting the camera to the resolution of 4056x3040 px: 2023-10-29 10:14:23 - INFO - Camera configuration has been adjusted! And below is picamera2's response after changing to the 2028x1520 px resolution: 2023-10-29 10:16:04 - INFO - Camera configuration has been adjusted! The following is the code used that worked correctly in Bullseye but does not work in Bookworm. The change in resolution is made by calling the setSize(self, idx) function. With idx = 0 2028x1520 px is selected, with idx = 1 4056x3040 px is selected: from picamera2 import Picamera2, Metadata from time import sleep from logging import info class DS8Camera():
|
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
Already answered in the Issues section. |
Beta Was this translation helpful? Give feedback.
Already answered in the Issues section.