Method

VipsImagegaussblur

Declaration [src]

int
vips_gaussblur (
  VipsImage* in,
  VipsImage** out,
  double sigma,
  ...
)

Description [src]

This operator runs vips_gaussmat() and vips_convsep() for you on an image.

Set min_ampl smaller to generate a larger, more accurate mask. Set sigma larger to make the blur more blurry.

::: tip “Optional arguments” * precision: VipsPrecision, precision for blur, default int * min_ampl: gdouble, minimum amplitude, default 0.2

::: seealso vips_gaussmat(), vips_convsep().

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

How large a mask to use.

... none
 

NULL-terminated list of optional named arguments.

Return value

Returns: int
 

0 on success, -1 on error.