Permalink
Browse files

add bandand/or/eor to the cpp binding

oops, they had been dropped

thanks clcaalu

see #1165
  • Loading branch information...
jcupitt committed Nov 16, 2018
1 parent 07d58f8 commit 26d0e312c64a321ed07d86de1d02618bdd4e7af3
Showing with 19 additions and 0 deletions.
  1. +1 −0 ChangeLog
  2. +18 −0 cplusplus/include/vips/VImage8.h
@@ -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]
@@ -628,6 +628,24 @@ class VImage : VObject
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
{

0 comments on commit 26d0e31

Please sign in to comment.