add bandand/or/eor to the cpp binding

oops, they had been dropped

thanks clcaalu

see https://github.com/libvips/libvips/issues/1165
This commit is contained in:
John Cupitt 2018-11-16 13:10:22 +00:00
parent 07d58f81b3
commit 26d0e312c6
2 changed files with 19 additions and 0 deletions

View File

@ -5,6 +5,7 @@
- deprecate thumbnail auto_rotate, add no_rotate [jcupitt]
- implement thumbnail shrink-on-load for openslide images [jcupitt]
- revise vips_cast() to improve behaviour with uint images [erdmann]
- add bandand()/or()/eor() to cplusplus binding [clcaalu]
23/9/18 started 8.7.1
- update function list in docs [janko-m]

View File

@ -628,6 +628,24 @@ public:
return( round( VIPS_OPERATION_ROUND_RINT, options ) );
}
VImage
bandand( VOption *options = 0 ) const
{
return( bandbool( VIPS_OPERATION_BOOLEAN_AND, options ) );
}
VImage
bandor( VOption *options = 0 ) const
{
return( bandbool( VIPS_OPERATION_BOOLEAN_OR, options ) );
}
VImage
bandeor( VOption *options = 0 ) const
{
return( bandbool( VIPS_OPERATION_BOOLEAN_EOR, options ) );
}
VImage
real( VOption *options = 0 ) const
{