regen C++ interface

This commit is contained in:
John Cupitt 2016-01-09 15:08:17 +00:00
parent 66373e9b41
commit bf64fde872
2 changed files with 139 additions and 4 deletions

View File

@ -1,5 +1,5 @@
// headers for vips operations
// Sat 9 Jan 2016 14:44:40 GMT
// headers for vips operations
// Sat Jan 9 15:06:40 GMT 2016
// this file is generated automatically, do not edit!
static void system( char * cmd_format , VOption *options = 0 );
@ -112,10 +112,18 @@ static VImage rawload( char * filename , int width , int height , int bands , VO
static VImage vipsload( char * filename , 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 );
static VImage jpegload( char * filename , VOption *options = 0 );
static VImage jpegload_buffer( VipsBlob * buffer , VOption *options = 0 );
static VImage webpload( char * filename , VOption *options = 0 );
static VImage webpload_buffer( VipsBlob * buffer , VOption *options = 0 );
static VImage tiffload( char * filename , VOption *options = 0 );
static VImage tiffload_buffer( VipsBlob * buffer , VOption *options = 0 );
static VImage openslideload( char * filename , VOption *options = 0 );
static VImage magickload( char * filename , VOption *options = 0 );
static VImage magickload_buffer( VipsBlob * buffer , VOption *options = 0 );
static VImage fitsload( char * filename , VOption *options = 0 );
static VImage openexrload( char * filename , VOption *options = 0 );
void radsave( char * filename , VOption *options = 0 );
void ppmsave( char * filename , VOption *options = 0 );
void csvsave( char * filename , VOption *options = 0 );
@ -130,7 +138,10 @@ VipsBlob * pngsave_buffer( VOption *options = 0 );
void jpegsave( char * filename , VOption *options = 0 );
VipsBlob * jpegsave_buffer( VOption *options = 0 );
void jpegsave_mime( VOption *options = 0 );
void webpsave( char * filename , VOption *options = 0 );
VipsBlob * webpsave_buffer( VOption *options = 0 );
void tiffsave( char * filename , VOption *options = 0 );
void fitssave( char * filename , VOption *options = 0 );
VImage mapim( VImage index , VOption *options = 0 );
VImage shrink( double xshrink , double yshrink , VOption *options = 0 );
VImage shrinkh( int xshrink , VOption *options = 0 );

View File

@ -1,5 +1,5 @@
// bodies for vips operations
// Sat 9 Jan 2016 14:39:21 GMT
// bodies for vips operations
// Sat Jan 9 15:05:58 GMT 2016
// this file is generated automatically, do not edit!
void VImage::system( char * cmd_format , VOption *options )
@ -1432,6 +1432,18 @@ VImage VImage::pngload_buffer( VipsBlob * buffer , VOption *options )
return( out );
}
VImage VImage::matload( char * filename , VOption *options )
{
VImage out;
call( "matload" ,
(options ? options : VImage::option()) ->
set( "filename", filename ) ->
set( "out", &out ) );
return( out );
}
VImage VImage::jpegload( char * filename , VOption *options )
{
VImage out;
@ -1456,6 +1468,30 @@ VImage VImage::jpegload_buffer( VipsBlob * buffer , VOption *options )
return( out );
}
VImage VImage::webpload( char * filename , VOption *options )
{
VImage out;
call( "webpload" ,
(options ? options : VImage::option()) ->
set( "filename", filename ) ->
set( "out", &out ) );
return( out );
}
VImage VImage::webpload_buffer( VipsBlob * buffer , VOption *options )
{
VImage out;
call( "webpload_buffer" ,
(options ? options : VImage::option()) ->
set( "buffer", buffer ) ->
set( "out", &out ) );
return( out );
}
VImage VImage::tiffload( char * filename , VOption *options )
{
VImage out;
@ -1480,6 +1516,66 @@ VImage VImage::tiffload_buffer( VipsBlob * buffer , VOption *options )
return( out );
}
VImage VImage::openslideload( char * filename , VOption *options )
{
VImage out;
call( "openslideload" ,
(options ? options : VImage::option()) ->
set( "filename", filename ) ->
set( "out", &out ) );
return( out );
}
VImage VImage::magickload( char * filename , VOption *options )
{
VImage out;
call( "magickload" ,
(options ? options : VImage::option()) ->
set( "filename", filename ) ->
set( "out", &out ) );
return( out );
}
VImage VImage::magickload_buffer( VipsBlob * buffer , VOption *options )
{
VImage out;
call( "magickload_buffer" ,
(options ? options : VImage::option()) ->
set( "buffer", buffer ) ->
set( "out", &out ) );
return( out );
}
VImage VImage::fitsload( char * filename , VOption *options )
{
VImage out;
call( "fitsload" ,
(options ? options : VImage::option()) ->
set( "filename", filename ) ->
set( "out", &out ) );
return( out );
}
VImage VImage::openexrload( char * filename , VOption *options )
{
VImage out;
call( "openexrload" ,
(options ? options : VImage::option()) ->
set( "filename", filename ) ->
set( "out", &out ) );
return( out );
}
void VImage::radsave( char * filename , VOption *options )
{
call( "radsave" ,
@ -1598,6 +1694,26 @@ void VImage::jpegsave_mime( VOption *options )
set( "in", *this ) );
}
void VImage::webpsave( char * filename , VOption *options )
{
call( "webpsave" ,
(options ? options : VImage::option()) ->
set( "in", *this ) ->
set( "filename", filename ) );
}
VipsBlob * VImage::webpsave_buffer( VOption *options )
{
VipsBlob * buffer;
call( "webpsave_buffer" ,
(options ? options : VImage::option()) ->
set( "in", *this ) ->
set( "buffer", &buffer ) );
return( buffer );
}
void VImage::tiffsave( char * filename , VOption *options )
{
call( "tiffsave" ,
@ -1606,6 +1722,14 @@ void VImage::tiffsave( char * filename , VOption *options )
set( "filename", filename ) );
}
void VImage::fitssave( char * filename , VOption *options )
{
call( "fitssave" ,
(options ? options : VImage::option()) ->
set( "in", *this ) ->
set( "filename", filename ) );
}
VImage VImage::mapim( VImage index , VOption *options )
{
VImage out;