Skip to content
Discussion options

You must be logged in to vote

I would recommend calling the cam.sensor_modes property to discover the supported modes. Note that this will run through all the modes and configure them so as to query them for information, so you need to call this as the very first thing after creating the Picamera2 object.

You subsequently have only limited choices when you ask for a particular raw format (or sensor mode). You always have a choice about getting packed/compressed or unpacked/uncompressed data, though on a Pi 5 packed is interpreted as compressed (as packed outputs are not supported).

You may be able to choose the bit depth, depending on what bit depths are supported. On Pi 5, when you ask for unpacked/uncompressed pixel…

Replies: 1 comment 3 replies

Comment options

You must be logged in to vote
3 replies
@marsfan
Comment options

@marsfan
Comment options

@davidplowman
Comment options

Answer selected by marsfan
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants