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
boolin Value indicating whether the image should be flipped horizontally.flip_vertically
boolin Value indicating whether the image should be flipped vertically.dst_image
Imagein 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
boolin Value indicating whether the image should be flipped horizontally.flipVertically
boolin Value indicating whether the image should be flipped vertically.dstImage
Imagein 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
boolin Value indicating whether the image should be flipped horizontally.flipVertically
boolin Value indicating whether the image should be flipped vertically.dstImage
Imagein 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
booleanin Value indicating whether the image should be flipped horizontally.flipVertically
booleanin Value indicating whether the image should be flipped vertically.dstImage
Imagein 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
Boolin Value indicating whether the image should be flipped horizontally.flipVertically
Boolin Value indicating whether the image should be flipped vertically.dstImage
Imagein 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
hImage
ID3_FACE_IMAGEin Handle to the Image object.flipHorizontally
boolin Value indicating whether the image should be flipped horizontally.flipVertically
boolin Value indicating whether the image should be flipped vertically.hDstImage
ID3_FACE_IMAGEin The destination Image object that receives the flipped image.
Returns