diff options
| author | Nick Van Doorn <vandoorn.nick@gmail.com> | 2017-11-05 19:08:04 -0800 |
|---|---|---|
| committer | Nick Van Doorn <vandoorn.nick@gmail.com> | 2017-11-05 19:08:04 -0800 |
| commit | 79ba4c7d55a64e55514724514595af4c0e0cf924 (patch) | |
| tree | 2e5d6e64aba864ac16741e14fde1dc946ce8e5b5 /camera.h | |
| parent | 9828d1d383996199297d875fc6d7941530b6bd5c (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.h | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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); |
