Vips.Image.eye
Description: Reference for Vips.Image.eye

### Constructor

# Vips Imageeye

#### 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.

Optional arguments

- `factor`: `gdouble`, maximum spatial frequency
- `uchar`: `gboolean`, output a uchar image

See also

`vips_zone()`.

This constructor is not directly available to language bindings.

#### Parameters

`out`

  Type: `VipsImage`

  Output image.

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

`width`

  Type: `int`

  Image size.

`height`

  Type: `int`

  Image size.

`...`

  Type: ``

  `NULL`-terminated list of optional named arguments.

#### Return value

Type: `int`

0 on success, -1 on error.