Constructor

VipsImageeye

Declaration [src]

int
vips_eye (
  VipsImage** out,
  int width,
  int height,
  ...
)

Description [src]

Create a test pattern with increasing spatial frequency in X and amplitude in Y.

factor should be between 0 and 1 and determines the maximum spatial frequency.

Set uchar to output a uchar image.

::: tip “Optional arguments” * factor: gdouble, maximum spatial frequency * uchar: gboolean, output a uchar image

::: seealso vips_zone().

Parameters

out VipsImage
 

Output image.

 The argument will be set by the function.
 The called function takes ownership of the data, and is responsible for freeing it.
width int
 

Image size.

height int
 

Image size.

... none
 

NULL-terminated list of optional named arguments.

Return value

Returns: int
 

0 on success, -1 on error.