Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

last_saved_filename property #43

Merged
merged 1 commit into from
Jan 20, 2025
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 7 additions & 0 deletions adafruit_pycamera/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -946,6 +946,13 @@ def blit_overlay_into_last_capture(self):
del cc565_swapped
gc.collect()

@property
def last_saved_filename(self) -> str:
"""
The filename of the last image saved.
"""
return self._last_saved_image_filename

def continuous_capture_start(self):
"""Switch the camera to continuous-capture mode"""
pass # pylint: disable=unnecessary-pass
Expand Down
Loading