From c2cb4c38fe1035f0808b7adaa94ab75b8dbf665d Mon Sep 17 00:00:00 2001 From: John Cupitt Date: Tue, 4 Apr 2017 10:17:05 +0100 Subject: [PATCH] missing ptoto for vips_tiffsave_buffer() oop, thanks greut see https://github.com/jcupitt/libvips/issues/632 --- ChangeLog | 1 + libvips/include/vips/foreign.h | 2 ++ 2 files changed, 3 insertions(+) diff --git a/ChangeLog b/ChangeLog index 633a60b3..5bb77d84 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,5 +1,6 @@ 25/3/17 started 8.5.2 - better behaviour for truncated PNG files, thanks Yury +- missing proto for vips_tiffsave_buffer(), thanks greut 25/3/17 started 8.5.1 - init more classes earlier, thanks David diff --git a/libvips/include/vips/foreign.h b/libvips/include/vips/foreign.h index f5ef933c..c77a7f37 100644 --- a/libvips/include/vips/foreign.h +++ b/libvips/include/vips/foreign.h @@ -443,6 +443,8 @@ int vips_tiffload_buffer( void *buf, size_t len, VipsImage **out, ... ) __attribute__((sentinel)); int vips_tiffsave( VipsImage *in, const char *filename, ... ) __attribute__((sentinel)); +int vips_tiffsave_buffer( VipsImage *in, void **buf, size_t *len, ... ) + __attribute__((sentinel)); int vips_openexrload( const char *filename, VipsImage **out, ... ) __attribute__((sentinel));