Skip to content

Commit

Permalink
add bandand/or/eor to the cpp binding
Browse files Browse the repository at this point in the history
oops, they had been dropped

thanks clcaalu

see #1165
  • Loading branch information
jcupitt committed Nov 16, 2018
1 parent 07d58f8 commit 26d0e31
Show file tree
Hide file tree
Showing 2 changed files with 19 additions and 0 deletions.
1 change: 1 addition & 0 deletions ChangeLog
Expand Up @@ -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]
Expand Down
18 changes: 18 additions & 0 deletions cplusplus/include/vips/VImage8.h
Expand Up @@ -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
{
Expand Down

0 comments on commit 26d0e31

Please sign in to comment.