update cplusplus API for 8.10

This commit is contained in:
John Cupitt 2020-07-05 22:38:08 +01:00
parent 5117c1a980
commit 105e56939a
2 changed files with 38 additions and 3 deletions

View File

@ -1,5 +1,5 @@
// headers for vips operations // headers for vips operations
// Thu 18 Jun 2020 01:19:31 PM CEST // Sun 5 Jul 22:36:46 BST 2020
// this file is generated automatically, do not edit! // this file is generated automatically, do not edit!
/** /**
@ -1359,7 +1359,7 @@ static VImage matload( const char *filename, VOption *options = 0 );
/** /**
* Invert an matrix. * Invert an matrix.
* @param options Optional options. * @param options Optional options.
* @return Output image. * @return Output matrix.
*/ */
VImage matrixinvert( VOption *options = 0 ) const; VImage matrixinvert( VOption *options = 0 ) const;
@ -1620,6 +1620,14 @@ void pngsave_target( VTarget target, VOption *options = 0 ) const;
*/ */
static VImage ppmload( const char *filename, VOption *options = 0 ); static VImage ppmload( const char *filename, VOption *options = 0 );
/**
* Load ppm base class.
* @param source Source to load from.
* @param options Optional options.
* @return Output image.
*/
static VImage ppmload_source( VSource source, VOption *options = 0 );
/** /**
* Save image to ppm file. * Save image to ppm file.
* @param filename Filename to save to. * @param filename Filename to save to.
@ -1627,6 +1635,13 @@ static VImage ppmload( const char *filename, VOption *options = 0 );
*/ */
void ppmsave( const char *filename, VOption *options = 0 ) const; void ppmsave( const char *filename, VOption *options = 0 ) const;
/**
* Save to ppm.
* @param target Target to save to.
* @param options Optional options.
*/
void ppmsave_target( VTarget target, VOption *options = 0 ) const;
/** /**
* Premultiply image alpha. * Premultiply image alpha.
* @param options Optional options. * @param options Optional options.

View File

@ -1,5 +1,5 @@
// bodies for vips operations // bodies for vips operations
// Thu 18 Jun 2020 01:19:31 PM CEST // Sun 5 Jul 22:36:37 BST 2020
// this file is generated automatically, do not edit! // this file is generated automatically, do not edit!
VImage VImage::CMC2LCh( VOption *options ) const VImage VImage::CMC2LCh( VOption *options ) const
@ -2467,6 +2467,18 @@ VImage VImage::ppmload( const char *filename, VOption *options )
return( out ); return( out );
} }
VImage VImage::ppmload_source( VSource source, VOption *options )
{
VImage out;
call( "ppmload_source",
(options ? options : VImage::option())->
set( "out", &out )->
set( "source", source ) );
return( out );
}
void VImage::ppmsave( const char *filename, VOption *options ) const void VImage::ppmsave( const char *filename, VOption *options ) const
{ {
call( "ppmsave", call( "ppmsave",
@ -2475,6 +2487,14 @@ void VImage::ppmsave( const char *filename, VOption *options ) const
set( "filename", filename ) ); set( "filename", filename ) );
} }
void VImage::ppmsave_target( VTarget target, VOption *options ) const
{
call( "ppmsave_target",
(options ? options : VImage::option())->
set( "in", *this )->
set( "target", target ) );
}
VImage VImage::premultiply( VOption *options ) const VImage VImage::premultiply( VOption *options ) const
{ {
VImage out; VImage out;