diff options
author | don bright <hugh.m.bright@gmail.com> | 2013-01-24 05:05:15 (GMT) |
---|---|---|
committer | don bright <hugh.m.bright@gmail.com> | 2013-01-24 05:05:15 (GMT) |
commit | e80d847e3d9249d22bf70f257df7b2130487b211 (patch) | |
tree | b9a17f3f8b66da2c303907833ead5116f55300d4 /src/imageutils.h | |
parent | d847039c96641f564d805c57824bad422d68ec0d (diff) |
stubs to enable passing ostream to png-writing functions
Diffstat (limited to 'src/imageutils.h')
-rw-r--r-- | src/imageutils.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/imageutils.h b/src/imageutils.h index 72602a2..b8d1663 100644 --- a/src/imageutils.h +++ b/src/imageutils.h @@ -4,6 +4,7 @@ #include <stdlib.h> bool write_png(const char *filename, unsigned char *pixels, int width, int height); +bool write_png(std::ostream &output, unsigned char *pixels, int width, int height); void flip_image(const unsigned char *src, unsigned char *dst, size_t pixelsize, size_t width, size_t height); #endif |