From 9f566fa4a93263ad91e1b5d073ec4af5dc98d564 Mon Sep 17 00:00:00 2001 From: John Cupitt Date: Mon, 8 Feb 2016 20:26:22 +0000 Subject: [PATCH] update cplusplus binding --- cplusplus/include/vips/vips-operators.h | 4 +++- cplusplus/vips-operators.cpp | 26 ++++++++++++++++++++++++- 2 files changed, 28 insertions(+), 2 deletions(-) diff --git a/cplusplus/include/vips/vips-operators.h b/cplusplus/include/vips/vips-operators.h index b9eba85b..1c452d51 100644 --- a/cplusplus/include/vips/vips-operators.h +++ b/cplusplus/include/vips/vips-operators.h @@ -1,5 +1,5 @@ // headers for vips operations -// Sun Feb 7 16:27:14 GMT 2016 +// Mon Feb 8 20:26:08 GMT 2016 // this file is generated automatically, do not edit! static void system( char * cmd_format , VOption *options = 0 ); @@ -110,6 +110,8 @@ static VImage matrixload( char * filename , VOption *options = 0 ); static VImage analyzeload( char * filename , VOption *options = 0 ); static VImage rawload( char * filename , int width , int height , int bands , VOption *options = 0 ); static VImage vipsload( char * filename , VOption *options = 0 ); +static VImage pdfload( char * filename , VOption *options = 0 ); +static VImage pdfload_buffer( VipsBlob * buffer , VOption *options = 0 ); static VImage pngload( char * filename , VOption *options = 0 ); static VImage pngload_buffer( VipsBlob * buffer , VOption *options = 0 ); static VImage matload( char * filename , VOption *options = 0 ); diff --git a/cplusplus/vips-operators.cpp b/cplusplus/vips-operators.cpp index d3cd6667..7906eefc 100644 --- a/cplusplus/vips-operators.cpp +++ b/cplusplus/vips-operators.cpp @@ -1,5 +1,5 @@ // bodies for vips operations -// Sun Feb 7 16:26:59 GMT 2016 +// Mon Feb 8 20:25:58 GMT 2016 // this file is generated automatically, do not edit! void VImage::system( char * cmd_format , VOption *options ) @@ -1408,6 +1408,30 @@ VImage VImage::vipsload( char * filename , VOption *options ) return( out ); } +VImage VImage::pdfload( char * filename , VOption *options ) +{ + VImage out; + + call( "pdfload" , + (options ? options : VImage::option()) -> + set( "filename", filename ) -> + set( "out", &out ) ); + + return( out ); +} + +VImage VImage::pdfload_buffer( VipsBlob * buffer , VOption *options ) +{ + VImage out; + + call( "pdfload_buffer" , + (options ? options : VImage::option()) -> + set( "buffer", buffer ) -> + set( "out", &out ) ); + + return( out ); +} + VImage VImage::pngload( char * filename , VOption *options ) { VImage out;