From 79ba4c7d55a64e55514724514595af4c0e0cf924 Mon Sep 17 00:00:00 2001 From: Nick Van Doorn Date: Sun, 5 Nov 2017 19:08:04 -0800 Subject: Implement method to write snapshot to file Mostly lifted from here https://github.com/adafruit/Adafruit-VC0706-Serial-Camera-Library/tree/master/examples/Snapshot --- camera.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'camera.h') 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); -- cgit v1.2.3