You can try Bullseye (01/28 and later) and use libcamera-still. Then you can refer to this for some simple configuration: