[−][src]Function libvips::ops::boolean_const
pub fn boolean_const(
inp: &VipsImage,
boolean: OperationBoolean,
c: &mut [f64]
) -> Result<VipsImage>
VipsBooleanConst (boolean_const), boolean operations against a constant
inp: &VipsImage
-> Input image
boolean: OperationBoolean
-> boolean to perform
And
-> VIPS_OPERATION_BOOLEAN_AND = 0 [DEFAULT]
Or
-> VIPS_OPERATION_BOOLEAN_OR = 1
Eor
-> VIPS_OPERATION_BOOLEAN_EOR = 2
Lshift
-> VIPS_OPERATION_BOOLEAN_LSHIFT = 3
Rshift
-> VIPS_OPERATION_BOOLEAN_RSHIFT = 4
Last
-> VIPS_OPERATION_BOOLEAN_LAST = 5
c: &mut [f64]
-> Array of constants
returns VipsImage
- Output image