diff --git a/ChangeLog b/ChangeLog index 18ea9203..3ac4c28c 100644 --- a/ChangeLog +++ b/ChangeLog @@ -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] diff --git a/cplusplus/include/vips/VImage8.h b/cplusplus/include/vips/VImage8.h index 0ff2a615..d7b745fe 100644 --- a/cplusplus/include/vips/VImage8.h +++ b/cplusplus/include/vips/VImage8.h @@ -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 {