Method
VipsImagerotate
Declaration [src]
int
vips_rotate (
VipsImage* in,
VipsImage** out,
double angle,
...
)
Description [src]
Optional arguments:
interpolate:VipsInterpolate, interpolate pixels with thisbackground:VipsArrayDoublecolour for new pixelsidx: %gdouble, input horizontal offsetidy: %gdouble, input vertical offsetodx: %gdouble, output horizontal offsetody: %gdouble, output vertical offset
This operator calls vips_affine() for you, calculating the matrix for the
affine transform from scale and angle. Other parameters are passed on to
vips_affine() unaltered.
See also: vips_affine(), VipsInterpolate.
This method is not directly available to language bindings.
Parameters
out-
Type:
VipsImageOutput image.
The argument will be set by the function. The caller of the method takes ownership of the returned data, and is responsible for freeing it. angle-
Type:
double%gdouble, rotate by this many degrees clockwise.
...-
Type:
NULL-terminated list of optional named arguments.