Image.rotateTo Method

Module: Image

Definition

Rotates the image to the specified angle.

Note

The rotation is performed counter-clockwise.

void rotateTo(int angle, Image dstImage)

Parameters

angle int
in The rotation angle, in degree. Supported values are [0, 90, 180, 270].

dstImage Image
in The destination Image that receives the rotated image.

Exceptions

An error has occurred during Face Library execution.