Image.flipTo Method

Module: Image

Definition

Flips the image.

flip_to(self, flip_horizontally: bool, flip_vertically: bool, dst_image: Image) -> None

Parameters

flip_horizontally bool
in Value indicating whether the image should be flipped horizontally.

flip_vertically bool
in Value indicating whether the image should be flipped vertically.

dst_image Image
in The destination Image object that receives the flipped image.

Exceptions

An error has occurred during Face Library execution.
void flipTo(bool flipHorizontally, bool flipVertically, Image dstImage)

Parameters

flipHorizontally bool
in Value indicating whether the image should be flipped horizontally.

flipVertically bool
in Value indicating whether the image should be flipped vertically.

dstImage Image
in The destination Image object that receives the flipped image.

Exceptions

An error has occurred during Face Library execution.
public void FlipTo(bool flipHorizontally, bool flipVertically, Image dstImage)

Parameters

flipHorizontally bool
in Value indicating whether the image should be flipped horizontally.

flipVertically bool
in Value indicating whether the image should be flipped vertically.

dstImage Image
in The destination Image object that receives the flipped image.

Exceptions

An error has occurred during Face Library execution.
public void flipTo(boolean flipHorizontally, boolean flipVertically, Image dstImage) throws FaceException

Parameters

flipHorizontally boolean
in Value indicating whether the image should be flipped horizontally.

flipVertically boolean
in Value indicating whether the image should be flipped vertically.

dstImage Image
in The destination Image object that receives the flipped image.

Exceptions

An error has occurred during Face Library execution.
public func flipTo(flipHorizontally: Bool, flipVertically: Bool, dstImage: Image) throws

Parameters

flipHorizontally Bool
in Value indicating whether the image should be flipped horizontally.

flipVertically Bool
in Value indicating whether the image should be flipped vertically.

dstImage Image
in The destination Image object that receives the flipped image.

Exceptions

An error has occurred during Face Library execution.
int id3FaceImage_FlipTo (
    ID3_FACE_IMAGE hImage,
    bool flipHorizontally,
    bool flipVertically,
    ID3_FACE_IMAGE hDstImage)

Parameters

in Handle to the Image object.

flipHorizontally bool
in Value indicating whether the image should be flipped horizontally.

flipVertically bool
in Value indicating whether the image should be flipped vertically.

hDstImage ID3_FACE_IMAGE
in The destination Image object that receives the flipped image.

Returns

int
An error code.
See id3FaceError file for the list of possible error codes.