Image.flip Method

Module: Image

Definition

Flips the image in-place.

flip(self, flip_horizontally: bool, flip_vertically: bool) -> 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.

Exceptions

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

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.

Exceptions

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

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.

Exceptions

An error has occurred during Face Library execution.
public void flip(boolean flipHorizontally, boolean flipVertically) 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.

Exceptions

An error has occurred during Face Library execution.
public func flip(flipHorizontally: Bool, flipVertically: Bool) 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.

Exceptions

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

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.

Returns

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