Better fix for exposure drift with more complete testing. Also fix return value for capture_to_memory

This commit is contained in:
Julian Stirling 2025-07-29 12:11:45 +01:00
parent 376780ea28
commit b90b02cf7d
3 changed files with 58 additions and 8 deletions

View file

@ -342,7 +342,7 @@ class BaseCamera(lt.Thing):
logger: lt.deps.InvocationLogger,
metadata_getter: lt.deps.GetThingStates,
buffer_max: int = 1,
) -> None:
) -> int:
"""Capture an image to memory. This can be saved later with ``save_from_memory``.
Note that only one image is held in memory so this will overwrite any image