summaryrefslogtreecommitdiff
path: root/camera.h
diff options
context:
space:
mode:
authorNick Van Doorn <vandoorn.nick@gmail.com>2017-11-05 19:08:04 -0800
committerNick Van Doorn <vandoorn.nick@gmail.com>2017-11-05 19:08:04 -0800
commit79ba4c7d55a64e55514724514595af4c0e0cf924 (patch)
tree2e5d6e64aba864ac16741e14fde1dc946ce8e5b5 /camera.h
parent9828d1d383996199297d875fc6d7941530b6bd5c (diff)
Implement method to write snapshot to file
Mostly lifted from here https://github.com/adafruit/Adafruit-VC0706-Serial-Camera-Library/tree/master/examples/Snapshot
Diffstat (limited to 'camera.h')
-rw-r--r--camera.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/camera.h b/camera.h
index 6fbb3cc..b24d508 100644
--- a/camera.h
+++ b/camera.h
@@ -83,4 +83,4 @@ byte getCompression (Camera *cam);
bool setCompression(Camera *cam, byte c);
bool getPTZ(Camera *cam, uint16_t *w, uint16_t *h, uint16_t *wz, uint16_t *hz, uint16_t *pan, uint16_t *tilt);
bool setPTZ(Camera *cam, uint16_t wz, uint16_t hz, uint16_t pan, uint16_t tilt);
-size_t camToFile (Camera *cam, char *path);
+bool snapshotToFile (Camera *cam, char *path, byte imgSize);