Image.rotateTo Method¶
Module: Image
Definition¶
Rotates the image to the specified angle.
Note
The rotation is performed counter-clockwise.
rotate_to(self, angle: int, dst_image: Image) -> None
Parameters
angleintin The rotation angle, in degree. Supported values are [0, 90, 180, 270].dst_imageImagein The destination Image that receives the rotated image.
Exceptions
An error has occurred during Face Library execution.
void rotateTo(int angle, Image dstImage)
Parameters
angleintin The rotation angle, in degree. Supported values are [0, 90, 180, 270].dstImageImagein The destination Image that receives the rotated image.
Exceptions
An error has occurred during Face Library execution.
public void RotateTo(int angle, Image dstImage)
Parameters
angleintin The rotation angle, in degree. Supported values are [0, 90, 180, 270].dstImageImagein The destination Image that receives the rotated image.
Exceptions
An error has occurred during Face Library execution.
public void rotateTo(int angle, Image dstImage) throws FaceException
Parameters
angleintin The rotation angle, in degree. Supported values are [0, 90, 180, 270].dstImageImagein The destination Image that receives the rotated image.
Exceptions
An error has occurred during Face Library execution.
public func rotateTo(angle: Int32, dstImage: Image) throws
Parameters
angleInt32in The rotation angle, in degree. Supported values are [0, 90, 180, 270].dstImageImagein The destination Image that receives the rotated image.
Exceptions
An error has occurred during Face Library execution.
int id3FaceImage_RotateTo (
ID3_FACE_IMAGE hImage,
int angle,
ID3_FACE_IMAGE hDstImage)
Parameters
hImageID3_FACE_IMAGEin Handle to the Image object.angleintin The rotation angle, in degree. Supported values are [0, 90, 180, 270].hDstImageID3_FACE_IMAGEin The destination Image that receives the rotated image.
Returns