Method

VipsImagewop_const1

Declaration [src]

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

Description [src]

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

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.

... none
 

NULL-terminated list of optional named arguments.

Return value

Returns: int
 

0 on success, -1 on error.