Method

VipsImagewrap

Declaration [src]

int
vips_wrap (
  VipsImage* in,
  VipsImage** out,
  ...
)

Description [src]

Optional arguments:

  • x: horizontal displacement
  • y: vertical displacement

Slice an image up and move the segments about so that the pixel that was at 0, 0 is now at x, y. If x and y are not set, they default to the centre of the image.

See also: vips_embed(), vips_replicate().

This method is not directly available to language bindings.

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

NULL-terminated list of optional named arguments.

Return value

Returns: int
 

0 on success, -1 on error.