Method

VipsImagerot

Declaration [src]

int
vips_rot (
  VipsImage* in,
  VipsImage** out,
  VipsAngle angle,
  ...
)

Description [src]

Rotate in by a multiple of 90 degrees.

Use vips_similarity() to rotate by an arbitary angle. vips_rot45() is useful for rotating convolution masks by 45 degrees.

See also: vips_flip(), vips_similarity(), vips_rot45().

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

Rotation angle.

...
 

NULL-terminated list of optional named arguments.

Return value

Returns: int
 

0 on success, -1 on error.