Method

VipsImagebandjoin_const1

Declaration [src]

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

Description [src]

Append a single constant band to an image.

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.
c double
 

Constant to append.

... none
 

NULL-terminated list of optional named arguments.

Return value

Returns: int
 

0 on success, -1 on error.