Method

VipsImagewop_const1

Declaration [src]

int
vips_wop_const1 (
  VipsImage* in,
  VipsImage** out,
  double c,
  ...
)

Description [src]

Perform #VIPS_OPERATION_MATH2_WOP on an image and a constant. See vips_math2_const().

This method is not directly available to language bindings.

Parameters

out VipsImage
 

Output VipsImage.

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

Constant.

...
 

NULL-terminated list of optional named arguments.

Return value

Returns: int
 

0 on success, -1 on error.