We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent bd9c97f commit 1b54684Copy full SHA for 1b54684
cplusplus/include/vips/VImage8.h
@@ -351,6 +351,12 @@ class VImage : VObject
351
vips_image_set_int( this->get_image(), field, value );
352
}
353
354
+ void
355
+ set( const char *field, int *value, int n )
356
+ {
357
+ vips_image_set_array_int( this->get_image(), field, value, n );
358
+ }
359
+
360
void
361
set( const char *field, double value )
362
{
@@ -388,6 +394,13 @@ class VImage : VObject
388
394
return( value );
389
395
390
396
397
398
+ get_array_int( const char *field, int **out, int *n ) const
399
400
+ if( vips_image_get_array_int( this->get_image(), field, out, n ) )
401
+ throw( VError() );
402
403
391
404
double
392
405
get_double( const char *field ) const
393
406
0 commit comments