Constructor

VipsImagezone

Declaration [src]

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

Description [src]

Create a one-band image of a zone plate.

Pixels are normally in [-1, +1], set uchar to output [0, 255].

::: tip “Optional arguments” * uchar: gboolean, output a uchar image

::: seealso vips_eye(), vips_xyz().

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.