Merge pull request #2212 from kleisauke/cpp-function-list-2
Update C++ binding and function list
This commit is contained in:
commit
74471ba258
@ -1781,7 +1781,7 @@ public:
|
||||
*
|
||||
* Rebuild with:
|
||||
*
|
||||
* make vips-operators.h
|
||||
* make vips-operators
|
||||
*
|
||||
* Then delete from here to the end of the class and paste in
|
||||
* vips-operators.h. We could just #include vips-operators.h, but
|
||||
@ -1789,7 +1789,7 @@ public:
|
||||
*/
|
||||
|
||||
// headers for vips operations
|
||||
// Wed 19 Aug 14:34:56 BST 2020
|
||||
// Wed Apr 21 06:00:31 PM CEST 2021
|
||||
// this file is generated automatically, do not edit!
|
||||
|
||||
/**
|
||||
@ -2736,6 +2736,22 @@ int find_trim( int *top, int *width, int *height, VOption *options = 0 ) const;
|
||||
*/
|
||||
static VImage fitsload( const char *filename, VOption *options = 0 );
|
||||
|
||||
/**
|
||||
* Load fits from a source.
|
||||
*
|
||||
* **Optional parameters**
|
||||
* - **memory** -- Force open via memory, bool.
|
||||
* - **access** -- Required access pattern for this file, VipsAccess.
|
||||
* - **sequential** -- Sequential read only, bool.
|
||||
* - **fail** -- Fail on first error, bool.
|
||||
* - **disc** -- Open to disc, bool.
|
||||
*
|
||||
* @param source Source to load from.
|
||||
* @param options Set of options.
|
||||
* @return Output image.
|
||||
*/
|
||||
static VImage fitsload_source( VSource source, VOption *options = 0 );
|
||||
|
||||
/**
|
||||
* Save image to fits file.
|
||||
*
|
||||
@ -2846,6 +2862,7 @@ static VImage gaussmat( double sigma, double min_ampl, VOption *options = 0 );
|
||||
* **Optional parameters**
|
||||
* - **sigma** -- Standard deviation of pixels in generated image, double.
|
||||
* - **mean** -- Mean of pixels in generated image, double.
|
||||
* - **seed** -- Random number seed, int.
|
||||
*
|
||||
* @param width Image width in pixels.
|
||||
* @param height Image height in pixels.
|
||||
@ -2864,11 +2881,11 @@ static VImage gaussnoise( int width, int height, VOption *options = 0 );
|
||||
std::vector<double> getpoint( int x, int y, VOption *options = 0 ) const;
|
||||
|
||||
/**
|
||||
* Load gif with giflib.
|
||||
* Load gif with libnsgif.
|
||||
*
|
||||
* **Optional parameters**
|
||||
* - **page** -- Load this page from the file, int.
|
||||
* - **n** -- Load this many pages, int.
|
||||
* - **page** -- Load this page from the file, int.
|
||||
* - **memory** -- Force open via memory, bool.
|
||||
* - **access** -- Required access pattern for this file, VipsAccess.
|
||||
* - **sequential** -- Sequential read only, bool.
|
||||
@ -2882,11 +2899,11 @@ std::vector<double> getpoint( int x, int y, VOption *options = 0 ) const;
|
||||
static VImage gifload( const char *filename, VOption *options = 0 );
|
||||
|
||||
/**
|
||||
* Load gif with giflib.
|
||||
* Load gif with libnsgif.
|
||||
*
|
||||
* **Optional parameters**
|
||||
* - **page** -- Load this page from the file, int.
|
||||
* - **n** -- Load this many pages, int.
|
||||
* - **page** -- Load this page from the file, int.
|
||||
* - **memory** -- Force open via memory, bool.
|
||||
* - **access** -- Required access pattern for this file, VipsAccess.
|
||||
* - **sequential** -- Sequential read only, bool.
|
||||
@ -2900,11 +2917,11 @@ static VImage gifload( const char *filename, VOption *options = 0 );
|
||||
static VImage gifload_buffer( VipsBlob *buffer, VOption *options = 0 );
|
||||
|
||||
/**
|
||||
* Load gif with giflib.
|
||||
* Load gif from source.
|
||||
*
|
||||
* **Optional parameters**
|
||||
* - **page** -- Load this page from the file, int.
|
||||
* - **n** -- Load this many pages, int.
|
||||
* - **page** -- Load this page from the file, int.
|
||||
* - **memory** -- Force open via memory, bool.
|
||||
* - **access** -- Required access pattern for this file, VipsAccess.
|
||||
* - **sequential** -- Sequential read only, bool.
|
||||
@ -3034,7 +3051,7 @@ static VImage heifload_source( VSource source, VOption *options = 0 );
|
||||
* - **Q** -- Q factor, int.
|
||||
* - **lossless** -- Enable lossless compression, bool.
|
||||
* - **compression** -- Compression format, VipsForeignHeifCompression.
|
||||
* - **speed**: -- CPU effort, 0 slowest - 8 fastest, AV1 compression only, int.
|
||||
* - **speed** -- CPU effort, int.
|
||||
* - **subsample_mode** -- Select chroma subsample operation mode, VipsForeignSubsample.
|
||||
* - **strip** -- Strip all metadata from image, bool.
|
||||
* - **background** -- Background value, std::vector<double>.
|
||||
@ -3052,7 +3069,7 @@ void heifsave( const char *filename, VOption *options = 0 ) const;
|
||||
* - **Q** -- Q factor, int.
|
||||
* - **lossless** -- Enable lossless compression, bool.
|
||||
* - **compression** -- Compression format, VipsForeignHeifCompression.
|
||||
* - **speed**: -- CPU effort, 0 slowest - 8 fastest, AV1 compression only, int.
|
||||
* - **speed** -- CPU effort, int.
|
||||
* - **subsample_mode** -- Select chroma subsample operation mode, VipsForeignSubsample.
|
||||
* - **strip** -- Strip all metadata from image, bool.
|
||||
* - **background** -- Background value, std::vector<double>.
|
||||
@ -3070,7 +3087,7 @@ VipsBlob *heifsave_buffer( VOption *options = 0 ) const;
|
||||
* - **Q** -- Q factor, int.
|
||||
* - **lossless** -- Enable lossless compression, bool.
|
||||
* - **compression** -- Compression format, VipsForeignHeifCompression.
|
||||
* - **speed**: -- CPU effort, 0 slowest - 8 fastest, AV1 compression only, int.
|
||||
* - **speed** -- CPU effort, int.
|
||||
* - **subsample_mode** -- Select chroma subsample operation mode, VipsForeignSubsample.
|
||||
* - **strip** -- Strip all metadata from image, bool.
|
||||
* - **background** -- Background value, std::vector<double>.
|
||||
@ -3213,6 +3230,7 @@ VImage hough_line( VOption *options = 0 ) const;
|
||||
* **Optional parameters**
|
||||
* - **pcs** -- Set Profile Connection Space, VipsPCS.
|
||||
* - **intent** -- Rendering intent, VipsIntent.
|
||||
* - **black_point_compensation** -- Enable black point compensation, bool.
|
||||
* - **output_profile** -- Filename to load output profile from, const char *.
|
||||
* - **depth** -- Output device space depth in bits, int.
|
||||
*
|
||||
@ -3227,6 +3245,7 @@ VImage icc_export( VOption *options = 0 ) const;
|
||||
* **Optional parameters**
|
||||
* - **pcs** -- Set Profile Connection Space, VipsPCS.
|
||||
* - **intent** -- Rendering intent, VipsIntent.
|
||||
* - **black_point_compensation** -- Enable black point compensation, bool.
|
||||
* - **embedded** -- Use embedded input profile, if available, bool.
|
||||
* - **input_profile** -- Filename to load input profile from, const char *.
|
||||
*
|
||||
@ -3241,6 +3260,7 @@ VImage icc_import( VOption *options = 0 ) const;
|
||||
* **Optional parameters**
|
||||
* - **pcs** -- Set Profile Connection Space, VipsPCS.
|
||||
* - **intent** -- Rendering intent, VipsIntent.
|
||||
* - **black_point_compensation** -- Enable black point compensation, bool.
|
||||
* - **embedded** -- Use embedded input profile, if available, bool.
|
||||
* - **input_profile** -- Filename to load input profile from, const char *.
|
||||
* - **depth** -- Output device space depth in bits, int.
|
||||
@ -3337,6 +3357,111 @@ VImage invfft( VOption *options = 0 ) const;
|
||||
*/
|
||||
VImage join( VImage in2, VipsDirection direction, VOption *options = 0 ) const;
|
||||
|
||||
/**
|
||||
* Load jpeg2000 image.
|
||||
*
|
||||
* **Optional parameters**
|
||||
* - **page** -- Load this page from the image, int.
|
||||
* - **memory** -- Force open via memory, bool.
|
||||
* - **access** -- Required access pattern for this file, VipsAccess.
|
||||
* - **sequential** -- Sequential read only, bool.
|
||||
* - **fail** -- Fail on first error, bool.
|
||||
* - **disc** -- Open to disc, bool.
|
||||
*
|
||||
* @param filename Filename to load from.
|
||||
* @param options Set of options.
|
||||
* @return Output image.
|
||||
*/
|
||||
static VImage jp2kload( const char *filename, VOption *options = 0 );
|
||||
|
||||
/**
|
||||
* Load jpeg2000 image.
|
||||
*
|
||||
* **Optional parameters**
|
||||
* - **page** -- Load this page from the image, int.
|
||||
* - **memory** -- Force open via memory, bool.
|
||||
* - **access** -- Required access pattern for this file, VipsAccess.
|
||||
* - **sequential** -- Sequential read only, bool.
|
||||
* - **fail** -- Fail on first error, bool.
|
||||
* - **disc** -- Open to disc, bool.
|
||||
*
|
||||
* @param buffer Buffer to load from.
|
||||
* @param options Set of options.
|
||||
* @return Output image.
|
||||
*/
|
||||
static VImage jp2kload_buffer( VipsBlob *buffer, VOption *options = 0 );
|
||||
|
||||
/**
|
||||
* Load jpeg2000 image.
|
||||
*
|
||||
* **Optional parameters**
|
||||
* - **page** -- Load this page from the image, int.
|
||||
* - **memory** -- Force open via memory, bool.
|
||||
* - **access** -- Required access pattern for this file, VipsAccess.
|
||||
* - **sequential** -- Sequential read only, bool.
|
||||
* - **fail** -- Fail on first error, bool.
|
||||
* - **disc** -- Open to disc, bool.
|
||||
*
|
||||
* @param source Source to load from.
|
||||
* @param options Set of options.
|
||||
* @return Output image.
|
||||
*/
|
||||
static VImage jp2kload_source( VSource source, VOption *options = 0 );
|
||||
|
||||
/**
|
||||
* Save image in heif format.
|
||||
*
|
||||
* **Optional parameters**
|
||||
* - **tile_width** -- Tile width in pixels, int.
|
||||
* - **tile_height** -- Tile height in pixels, int.
|
||||
* - **lossless** -- Enable lossless compression, bool.
|
||||
* - **Q** -- Q factor, int.
|
||||
* - **subsample_mode** -- Select chroma subsample operation mode, VipsForeignSubsample.
|
||||
* - **strip** -- Strip all metadata from image, bool.
|
||||
* - **background** -- Background value, std::vector<double>.
|
||||
* - **page_height** -- Set page height for multipage save, int.
|
||||
*
|
||||
* @param filename Filename to load from.
|
||||
* @param options Set of options.
|
||||
*/
|
||||
void jp2ksave( const char *filename, VOption *options = 0 ) const;
|
||||
|
||||
/**
|
||||
* Save image in heif format.
|
||||
*
|
||||
* **Optional parameters**
|
||||
* - **tile_width** -- Tile width in pixels, int.
|
||||
* - **tile_height** -- Tile height in pixels, int.
|
||||
* - **lossless** -- Enable lossless compression, bool.
|
||||
* - **Q** -- Q factor, int.
|
||||
* - **subsample_mode** -- Select chroma subsample operation mode, VipsForeignSubsample.
|
||||
* - **strip** -- Strip all metadata from image, bool.
|
||||
* - **background** -- Background value, std::vector<double>.
|
||||
* - **page_height** -- Set page height for multipage save, int.
|
||||
*
|
||||
* @param options Set of options.
|
||||
* @return Buffer to save to.
|
||||
*/
|
||||
VipsBlob *jp2ksave_buffer( VOption *options = 0 ) const;
|
||||
|
||||
/**
|
||||
* Save image in heif format.
|
||||
*
|
||||
* **Optional parameters**
|
||||
* - **tile_width** -- Tile width in pixels, int.
|
||||
* - **tile_height** -- Tile height in pixels, int.
|
||||
* - **lossless** -- Enable lossless compression, bool.
|
||||
* - **Q** -- Q factor, int.
|
||||
* - **subsample_mode** -- Select chroma subsample operation mode, VipsForeignSubsample.
|
||||
* - **strip** -- Strip all metadata from image, bool.
|
||||
* - **background** -- Background value, std::vector<double>.
|
||||
* - **page_height** -- Set page height for multipage save, int.
|
||||
*
|
||||
* @param target Target to save to.
|
||||
* @param options Set of options.
|
||||
*/
|
||||
void jp2ksave_target( VTarget target, VOption *options = 0 ) const;
|
||||
|
||||
/**
|
||||
* Load jpeg from file.
|
||||
*
|
||||
@ -4087,7 +4212,7 @@ VImage msb( VOption *options = 0 ) const;
|
||||
VImage multiply( VImage right, VOption *options = 0 ) const;
|
||||
|
||||
/**
|
||||
* Load a nifti image.
|
||||
* Load nifti volume.
|
||||
*
|
||||
* **Optional parameters**
|
||||
* - **memory** -- Force open via memory, bool.
|
||||
@ -4102,6 +4227,22 @@ VImage multiply( VImage right, VOption *options = 0 ) const;
|
||||
*/
|
||||
static VImage niftiload( const char *filename, VOption *options = 0 );
|
||||
|
||||
/**
|
||||
* Load nifti volumes.
|
||||
*
|
||||
* **Optional parameters**
|
||||
* - **memory** -- Force open via memory, bool.
|
||||
* - **access** -- Required access pattern for this file, VipsAccess.
|
||||
* - **sequential** -- Sequential read only, bool.
|
||||
* - **fail** -- Fail on first error, bool.
|
||||
* - **disc** -- Open to disc, bool.
|
||||
*
|
||||
* @param source Source to load from.
|
||||
* @param options Set of options.
|
||||
* @return Output image.
|
||||
*/
|
||||
static VImage niftiload_source( VSource source, VOption *options = 0 );
|
||||
|
||||
/**
|
||||
* Save image to nifti file.
|
||||
*
|
||||
@ -4135,7 +4276,7 @@ static VImage openexrload( const char *filename, VOption *options = 0 );
|
||||
* Load file with openslide.
|
||||
*
|
||||
* **Optional parameters**
|
||||
* - **attach_associated** -- Attach all asssociated images, bool.
|
||||
* - **attach_associated** -- Attach all associated images, bool.
|
||||
* - **level** -- Load this level from the file, int.
|
||||
* - **autocrop** -- Crop to image bounds, bool.
|
||||
* - **associated** -- Load this associated image, const char *.
|
||||
@ -4151,6 +4292,26 @@ static VImage openexrload( const char *filename, VOption *options = 0 );
|
||||
*/
|
||||
static VImage openslideload( const char *filename, VOption *options = 0 );
|
||||
|
||||
/**
|
||||
* Load source with openslide.
|
||||
*
|
||||
* **Optional parameters**
|
||||
* - **attach_associated** -- Attach all associated images, bool.
|
||||
* - **level** -- Load this level from the file, int.
|
||||
* - **autocrop** -- Crop to image bounds, bool.
|
||||
* - **associated** -- Load this associated image, const char *.
|
||||
* - **memory** -- Force open via memory, bool.
|
||||
* - **access** -- Required access pattern for this file, VipsAccess.
|
||||
* - **sequential** -- Sequential read only, bool.
|
||||
* - **fail** -- Fail on first error, bool.
|
||||
* - **disc** -- Open to disc, bool.
|
||||
*
|
||||
* @param source Source to load from.
|
||||
* @param options Set of options.
|
||||
* @return Output image.
|
||||
*/
|
||||
static VImage openslideload_source( VSource source, VOption *options = 0 );
|
||||
|
||||
/**
|
||||
* Load pdf from file.
|
||||
*
|
||||
@ -4228,6 +4389,7 @@ int percent( double percent, VOption *options = 0 ) const;
|
||||
* **Optional parameters**
|
||||
* - **cell_size** -- Size of Perlin cells, int.
|
||||
* - **uchar** -- Output an unsigned char image, bool.
|
||||
* - **seed** -- Random number seed, int.
|
||||
*
|
||||
* @param width Image width in pixels.
|
||||
* @param height Image height in pixels.
|
||||
@ -4396,7 +4558,7 @@ static VImage ppmload_source( VSource source, VOption *options = 0 );
|
||||
* **Optional parameters**
|
||||
* - **ascii** -- save as ascii, bool.
|
||||
* - **squash** -- save as one bit, bool.
|
||||
* - **bitdepth** -- Write as a 1 bit image, int.
|
||||
* - **bitdepth** -- set to 1 to write as a 1 bit image, int.
|
||||
* - **strip** -- Strip all metadata from image, bool.
|
||||
* - **background** -- Background value, std::vector<double>.
|
||||
* - **page_height** -- Set page height for multipage save, int.
|
||||
@ -4412,7 +4574,7 @@ void ppmsave( const char *filename, VOption *options = 0 ) const;
|
||||
* **Optional parameters**
|
||||
* - **ascii** -- save as ascii, bool.
|
||||
* - **squash** -- save as one bit, bool.
|
||||
* - **bitdepth** -- Write as a 1 bit image, int.
|
||||
* - **bitdepth** -- set to 1 to write as a 1 bit image, int.
|
||||
* - **strip** -- Strip all metadata from image, bool.
|
||||
* - **background** -- Background value, std::vector<double>.
|
||||
* - **page_height** -- Set page height for multipage save, int.
|
||||
@ -5096,6 +5258,7 @@ static void system( const char *cmd_format, VOption *options = 0 );
|
||||
* - **width** -- Maximum image width in pixels, int.
|
||||
* - **height** -- Maximum image height in pixels, int.
|
||||
* - **align** -- Align on the low, centre or high edge, VipsAlign.
|
||||
* - **rgba** -- Enable RGBA output, bool.
|
||||
* - **dpi** -- DPI to render at, int.
|
||||
* - **justify** -- Justify lines, bool.
|
||||
* - **spacing** -- Line spacing, int.
|
||||
@ -5398,7 +5561,23 @@ VImage unpremultiply( VOption *options = 0 ) const;
|
||||
static VImage vipsload( const char *filename, VOption *options = 0 );
|
||||
|
||||
/**
|
||||
* Save image to vips file.
|
||||
* Load vips from source.
|
||||
*
|
||||
* **Optional parameters**
|
||||
* - **memory** -- Force open via memory, bool.
|
||||
* - **access** -- Required access pattern for this file, VipsAccess.
|
||||
* - **sequential** -- Sequential read only, bool.
|
||||
* - **fail** -- Fail on first error, bool.
|
||||
* - **disc** -- Open to disc, bool.
|
||||
*
|
||||
* @param source Source to load from.
|
||||
* @param options Set of options.
|
||||
* @return Output image.
|
||||
*/
|
||||
static VImage vipsload_source( VSource source, VOption *options = 0 );
|
||||
|
||||
/**
|
||||
* Save image to file in vips format.
|
||||
*
|
||||
* **Optional parameters**
|
||||
* - **strip** -- Strip all metadata from image, bool.
|
||||
@ -5410,6 +5589,19 @@ static VImage vipsload( const char *filename, VOption *options = 0 );
|
||||
*/
|
||||
void vipssave( const char *filename, VOption *options = 0 ) const;
|
||||
|
||||
/**
|
||||
* Save image to target in vips format.
|
||||
*
|
||||
* **Optional parameters**
|
||||
* - **strip** -- Strip all metadata from image, bool.
|
||||
* - **background** -- Background value, std::vector<double>.
|
||||
* - **page_height** -- Set page height for multipage save, int.
|
||||
*
|
||||
* @param target Target to save to.
|
||||
* @param options Set of options.
|
||||
*/
|
||||
void vipssave_target( VTarget target, VOption *options = 0 ) const;
|
||||
|
||||
/**
|
||||
* Load webp from file.
|
||||
*
|
||||
@ -5547,6 +5739,7 @@ void webpsave_target( VTarget target, VOption *options = 0 ) const;
|
||||
*
|
||||
* **Optional parameters**
|
||||
* - **cell_size** -- Size of Worley cells, int.
|
||||
* - **seed** -- Random number seed, int.
|
||||
*
|
||||
* @param width Image width in pixels.
|
||||
* @param height Image height in pixels.
|
||||
|
@ -1,5 +1,5 @@
|
||||
// bodies for vips operations
|
||||
// Mon 17 Aug 18:04:15 BST 2020
|
||||
// Wed Apr 21 06:00:31 PM CEST 2021
|
||||
// this file is generated automatically, do not edit!
|
||||
|
||||
VImage VImage::CMC2LCh( VOption *options ) const
|
||||
@ -1065,6 +1065,18 @@ VImage VImage::fitsload( const char *filename, VOption *options )
|
||||
return( out );
|
||||
}
|
||||
|
||||
VImage VImage::fitsload_source( VSource source, VOption *options )
|
||||
{
|
||||
VImage out;
|
||||
|
||||
call( "fitsload_source",
|
||||
(options ? options : VImage::option())->
|
||||
set( "out", &out )->
|
||||
set( "source", source ) );
|
||||
|
||||
return( out );
|
||||
}
|
||||
|
||||
void VImage::fitssave( const char *filename, VOption *options ) const
|
||||
{
|
||||
call( "fitssave",
|
||||
@ -1656,6 +1668,70 @@ VImage VImage::join( VImage in2, VipsDirection direction, VOption *options ) con
|
||||
return( out );
|
||||
}
|
||||
|
||||
VImage VImage::jp2kload( const char *filename, VOption *options )
|
||||
{
|
||||
VImage out;
|
||||
|
||||
call( "jp2kload",
|
||||
(options ? options : VImage::option())->
|
||||
set( "out", &out )->
|
||||
set( "filename", filename ) );
|
||||
|
||||
return( out );
|
||||
}
|
||||
|
||||
VImage VImage::jp2kload_buffer( VipsBlob *buffer, VOption *options )
|
||||
{
|
||||
VImage out;
|
||||
|
||||
call( "jp2kload_buffer",
|
||||
(options ? options : VImage::option())->
|
||||
set( "out", &out )->
|
||||
set( "buffer", buffer ) );
|
||||
|
||||
return( out );
|
||||
}
|
||||
|
||||
VImage VImage::jp2kload_source( VSource source, VOption *options )
|
||||
{
|
||||
VImage out;
|
||||
|
||||
call( "jp2kload_source",
|
||||
(options ? options : VImage::option())->
|
||||
set( "out", &out )->
|
||||
set( "source", source ) );
|
||||
|
||||
return( out );
|
||||
}
|
||||
|
||||
void VImage::jp2ksave( const char *filename, VOption *options ) const
|
||||
{
|
||||
call( "jp2ksave",
|
||||
(options ? options : VImage::option())->
|
||||
set( "in", *this )->
|
||||
set( "filename", filename ) );
|
||||
}
|
||||
|
||||
VipsBlob *VImage::jp2ksave_buffer( VOption *options ) const
|
||||
{
|
||||
VipsBlob *buffer;
|
||||
|
||||
call( "jp2ksave_buffer",
|
||||
(options ? options : VImage::option())->
|
||||
set( "in", *this )->
|
||||
set( "buffer", &buffer ) );
|
||||
|
||||
return( buffer );
|
||||
}
|
||||
|
||||
void VImage::jp2ksave_target( VTarget target, VOption *options ) const
|
||||
{
|
||||
call( "jp2ksave_target",
|
||||
(options ? options : VImage::option())->
|
||||
set( "in", *this )->
|
||||
set( "target", target ) );
|
||||
}
|
||||
|
||||
VImage VImage::jpegload( const char *filename, VOption *options )
|
||||
{
|
||||
VImage out;
|
||||
@ -2284,6 +2360,18 @@ VImage VImage::niftiload( const char *filename, VOption *options )
|
||||
return( out );
|
||||
}
|
||||
|
||||
VImage VImage::niftiload_source( VSource source, VOption *options )
|
||||
{
|
||||
VImage out;
|
||||
|
||||
call( "niftiload_source",
|
||||
(options ? options : VImage::option())->
|
||||
set( "out", &out )->
|
||||
set( "source", source ) );
|
||||
|
||||
return( out );
|
||||
}
|
||||
|
||||
void VImage::niftisave( const char *filename, VOption *options ) const
|
||||
{
|
||||
call( "niftisave",
|
||||
@ -2316,6 +2404,18 @@ VImage VImage::openslideload( const char *filename, VOption *options )
|
||||
return( out );
|
||||
}
|
||||
|
||||
VImage VImage::openslideload_source( VSource source, VOption *options )
|
||||
{
|
||||
VImage out;
|
||||
|
||||
call( "openslideload_source",
|
||||
(options ? options : VImage::option())->
|
||||
set( "out", &out )->
|
||||
set( "source", source ) );
|
||||
|
||||
return( out );
|
||||
}
|
||||
|
||||
VImage VImage::pdfload( const char *filename, VOption *options )
|
||||
{
|
||||
VImage out;
|
||||
@ -3388,6 +3488,18 @@ VImage VImage::vipsload( const char *filename, VOption *options )
|
||||
return( out );
|
||||
}
|
||||
|
||||
VImage VImage::vipsload_source( VSource source, VOption *options )
|
||||
{
|
||||
VImage out;
|
||||
|
||||
call( "vipsload_source",
|
||||
(options ? options : VImage::option())->
|
||||
set( "out", &out )->
|
||||
set( "source", source ) );
|
||||
|
||||
return( out );
|
||||
}
|
||||
|
||||
void VImage::vipssave( const char *filename, VOption *options ) const
|
||||
{
|
||||
call( "vipssave",
|
||||
@ -3396,6 +3508,14 @@ void VImage::vipssave( const char *filename, VOption *options ) const
|
||||
set( "filename", filename ) );
|
||||
}
|
||||
|
||||
void VImage::vipssave_target( VTarget target, VOption *options ) const
|
||||
{
|
||||
call( "vipssave_target",
|
||||
(options ? options : VImage::option())->
|
||||
set( "in", *this )->
|
||||
set( "target", target ) );
|
||||
}
|
||||
|
||||
VImage VImage::webpload( const char *filename, VOption *options )
|
||||
{
|
||||
VImage out;
|
||||
|
@ -496,6 +496,11 @@
|
||||
<entry>Load a fits image</entry>
|
||||
<entry>vips_fitsload()</entry>
|
||||
</row>
|
||||
<row>
|
||||
<entry>fitsload_source</entry>
|
||||
<entry>Load fits from a source</entry>
|
||||
<entry>vips_fitsload_source()</entry>
|
||||
</row>
|
||||
<row>
|
||||
<entry>fitssave</entry>
|
||||
<entry>Save image to fits file</entry>
|
||||
@ -558,17 +563,17 @@
|
||||
</row>
|
||||
<row>
|
||||
<entry>gifload</entry>
|
||||
<entry>Load gif with giflib</entry>
|
||||
<entry>Load gif with libnsgif</entry>
|
||||
<entry>vips_gifload()</entry>
|
||||
</row>
|
||||
<row>
|
||||
<entry>gifload_buffer</entry>
|
||||
<entry>Load gif with giflib</entry>
|
||||
<entry>Load gif with libnsgif</entry>
|
||||
<entry>vips_gifload_buffer()</entry>
|
||||
</row>
|
||||
<row>
|
||||
<entry>gifload_source</entry>
|
||||
<entry>Load gif with giflib</entry>
|
||||
<entry>Load gif from source</entry>
|
||||
<entry>vips_gifload_source()</entry>
|
||||
</row>
|
||||
<row>
|
||||
@ -736,6 +741,36 @@
|
||||
<entry>Join a pair of images</entry>
|
||||
<entry>vips_join()</entry>
|
||||
</row>
|
||||
<row>
|
||||
<entry>jp2kload</entry>
|
||||
<entry>Load jpeg2000 image</entry>
|
||||
<entry>vips_jp2kload()</entry>
|
||||
</row>
|
||||
<row>
|
||||
<entry>jp2kload_buffer</entry>
|
||||
<entry>Load jpeg2000 image</entry>
|
||||
<entry>vips_jp2kload_buffer()</entry>
|
||||
</row>
|
||||
<row>
|
||||
<entry>jp2kload_source</entry>
|
||||
<entry>Load jpeg2000 image</entry>
|
||||
<entry>vips_jp2kload_source()</entry>
|
||||
</row>
|
||||
<row>
|
||||
<entry>jp2ksave</entry>
|
||||
<entry>Save image in heif format</entry>
|
||||
<entry>vips_jp2ksave()</entry>
|
||||
</row>
|
||||
<row>
|
||||
<entry>jp2ksave_buffer</entry>
|
||||
<entry>Save image in heif format</entry>
|
||||
<entry>vips_jp2ksave_buffer()</entry>
|
||||
</row>
|
||||
<row>
|
||||
<entry>jp2ksave_target</entry>
|
||||
<entry>Save image in heif format</entry>
|
||||
<entry>vips_jp2ksave_target()</entry>
|
||||
</row>
|
||||
<row>
|
||||
<entry>jpegload</entry>
|
||||
<entry>Load jpeg from file</entry>
|
||||
@ -973,9 +1008,14 @@
|
||||
</row>
|
||||
<row>
|
||||
<entry>niftiload</entry>
|
||||
<entry>Load a nifti image</entry>
|
||||
<entry>Load nifti volume</entry>
|
||||
<entry>vips_niftiload()</entry>
|
||||
</row>
|
||||
<row>
|
||||
<entry>niftiload_source</entry>
|
||||
<entry>Load nifti volumes</entry>
|
||||
<entry>vips_niftiload_source()</entry>
|
||||
</row>
|
||||
<row>
|
||||
<entry>niftisave</entry>
|
||||
<entry>Save image to nifti file</entry>
|
||||
@ -991,6 +1031,11 @@
|
||||
<entry>Load file with openslide</entry>
|
||||
<entry>vips_openslideload()</entry>
|
||||
</row>
|
||||
<row>
|
||||
<entry>openslideload_source</entry>
|
||||
<entry>Load source with openslide</entry>
|
||||
<entry>vips_openslideload_source()</entry>
|
||||
</row>
|
||||
<row>
|
||||
<entry>pdfload</entry>
|
||||
<entry>Load pdf from file</entry>
|
||||
@ -1056,11 +1101,21 @@
|
||||
<entry>Load ppm from file</entry>
|
||||
<entry>vips_ppmload()</entry>
|
||||
</row>
|
||||
<row>
|
||||
<entry>ppmload_source</entry>
|
||||
<entry>Load ppm base class</entry>
|
||||
<entry>vips_ppmload_source()</entry>
|
||||
</row>
|
||||
<row>
|
||||
<entry>ppmsave</entry>
|
||||
<entry>Save image to ppm file</entry>
|
||||
<entry>vips_ppmsave()</entry>
|
||||
</row>
|
||||
<row>
|
||||
<entry>ppmsave_target</entry>
|
||||
<entry>Save to ppm</entry>
|
||||
<entry>vips_ppmsave_target()</entry>
|
||||
</row>
|
||||
<row>
|
||||
<entry>premultiply</entry>
|
||||
<entry>Premultiply image alpha</entry>
|
||||
@ -1426,11 +1481,21 @@
|
||||
<entry>Load vips from file</entry>
|
||||
<entry>vips_vipsload()</entry>
|
||||
</row>
|
||||
<row>
|
||||
<entry>vipsload_source</entry>
|
||||
<entry>Load vips from source</entry>
|
||||
<entry>vips_vipsload_source()</entry>
|
||||
</row>
|
||||
<row>
|
||||
<entry>vipssave</entry>
|
||||
<entry>Save image to vips file</entry>
|
||||
<entry>Save image to file in vips format</entry>
|
||||
<entry>vips_vipssave()</entry>
|
||||
</row>
|
||||
<row>
|
||||
<entry>vipssave_target</entry>
|
||||
<entry>Save image to target in vips format</entry>
|
||||
<entry>vips_vipssave_target()</entry>
|
||||
</row>
|
||||
<row>
|
||||
<entry>webpload</entry>
|
||||
<entry>Load webp from file</entry>
|
||||
|
@ -95,7 +95,7 @@ typedef struct _VipsForeignLoadNifti {
|
||||
|
||||
typedef VipsForeignLoadClass VipsForeignLoadNiftiClass;
|
||||
|
||||
G_DEFINE_TYPE( VipsForeignLoadNifti, vips_foreign_load_nifti,
|
||||
G_DEFINE_ABSTRACT_TYPE( VipsForeignLoadNifti, vips_foreign_load_nifti,
|
||||
VIPS_TYPE_FOREIGN_LOAD );
|
||||
|
||||
static void
|
||||
|
Loading…
Reference in New Issue
Block a user