mirror of
https://github.com/lovell/sharp.git
synced 2025-07-11 19:40:14 +02:00
Update upstream libvips source to v8.6.0-beta1
This commit is contained in:
parent
efd2e893cf
commit
fc233ed4ff
@ -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<double> 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<VImage> in , std::vector<int> 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<double> ink , int left , int top , int width , int height , VOption *options )
|
||||
{
|
||||
call( "draw_rect" ,
|
||||
|
Loading…
x
Reference in New Issue
Block a user