pub fn boolean_const(
inp: &VipsImage,
boolean: OperationBoolean,
c: &mut [f64],
) -> Result<VipsImage>Expand description
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