diff --git a/src/libvips/cplusplus/vips-operators.cpp b/src/libvips/cplusplus/vips-operators.cpp index bff2a745..02097139 100644 --- a/src/libvips/cplusplus/vips-operators.cpp +++ b/src/libvips/cplusplus/vips-operators.cpp @@ -1,5 +1,5 @@ // bodies for vips operations -// Mon 13 Mar 13:22:17 GMT 2017 +// Sun 26 Nov 17:44:23 GMT 2017 // this file is generated automatically, do not edit! void VImage::system( char * cmd_format , VOption *options ) @@ -487,6 +487,21 @@ std::vector VImage::getpoint( int x , int y , VOption *options ) return( out_array ); } +int VImage::find_trim( int * top , int * width , int * height , VOption *options ) +{ + int left; + + call( "find_trim" , + (options ? options : VImage::option()) -> + set( "in", *this ) -> + set( "left", &left ) -> + set( "top", top ) -> + set( "width", width ) -> + set( "height", height ) ); + + return( left ); +} + VImage VImage::copy( VOption *options ) { VImage out; @@ -563,6 +578,21 @@ VImage VImage::embed( int x , int y , int width , int height , VOption *options return( out ); } +VImage VImage::gravity( VipsCompassDirection direction , int width , int height , VOption *options ) +{ + VImage out; + + call( "gravity" , + (options ? options : VImage::option()) -> + set( "in", *this ) -> + set( "out", &out ) -> + set( "direction", direction ) -> + set( "width", width ) -> + set( "height", height ) ); + + return( out ); +} + VImage VImage::flip( VipsDirection direction , VOption *options ) { VImage out; @@ -988,6 +1018,19 @@ VImage VImage::gamma( VOption *options ) return( out ); } +VImage VImage::composite( std::vector in , std::vector mode , VOption *options ) +{ + VImage out; + + call( "composite" , + (options ? options : VImage::option()) -> + set( "in", in ) -> + set( "out", &out ) -> + set( "mode", mode ) ); + + return( out ); +} + VImage VImage::black( int width , int height , VOption *options ) { VImage out; @@ -1904,6 +1947,19 @@ VImage VImage::thumbnail_buffer( VipsBlob * buffer , int width , VOption *option return( out ); } +VImage VImage::thumbnail_image( int width , VOption *options ) +{ + VImage out; + + call( "thumbnail_image" , + (options ? options : VImage::option()) -> + set( "in", *this ) -> + set( "out", &out ) -> + set( "width", width ) ); + + return( out ); +} + VImage VImage::mapim( VImage index , VOption *options ) { VImage out; @@ -2822,6 +2878,18 @@ VImage VImage::labelregions( VOption *options ) return( mask ); } +VImage VImage::fill_nearest( VOption *options ) +{ + VImage out; + + call( "fill_nearest" , + (options ? options : VImage::option()) -> + set( "in", *this ) -> + set( "out", &out ) ); + + return( out ); +} + void VImage::draw_rect( std::vector ink , int left , int top , int width , int height , VOption *options ) { call( "draw_rect" ,