Method

VipsImageboolean_const1

Declaration [src]

int
vips_boolean_const1 (
  VipsImage* in,
  VipsImage** out,
  VipsOperationBoolean boolean,
  double c,
  ...
)

Description [src]

Perform various boolean operations on an image with a single constant. See vips_boolean_const().

::: seealso vips_boolean(), vips_boolean_const().

Parameters

out VipsImage
 

Output image.

 The argument will be set by the function.
 The instance takes ownership of the data, and is responsible for freeing it.
boolean VipsOperationBoolean
 

Boolean operation to perform.

c double
 

Constant.

... none
 

NULL-terminated list of optional named arguments.

Return value

Returns: int
 

0 on success, -1 on error.