Method

VipsImagereplicate

Declaration [src]

int
vips_replicate (
  VipsImage* in,
  VipsImage** out,
  int across,
  int down,
  ...
)

Description [src]

Repeats an image many times.

::: seealso vips_extract_area().

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.
across int
 

Repeat input this many times across.

down int
 

Repeat input this many times down.

... none
 

NULL-terminated list of optional named arguments.

Return value

Returns: int
 

0 on success, -1 on error.