Page 1 of 1

setting analog / digital gain in (python) picamera

Posted: Wed May 27, 2020 8:28 am
by pootle
I see in the HQ camera thread that raspistill allows analog gain to be set directly using -ag.

But with a picamera.PiCamera object the analog_gain attribute cannot be written.

Is there a way to set analog gain (and digital gain) via python / picamera - typically for when exposure mode is off.

Re: setting analog / digital gain in (python) picamera

Posted: Wed May 27, 2020 9:21 am
by 6by9
https://github.com/waveform80/picamera/pull/463 refers to it being merged as part of https://github.com/waveform80/picamera/pull/470, although I can't see the exact commit at present.