Hide navigation sidebar
Hide table of contents sidebar
Skip to content
Back to top
Toggle table of contents sidebar

# Image.clone Method

Module: Image

## Definition

Clones the Image object.

Python

    clone(self) -> Image

Returns

> Image
> The newly created image.

Exceptions

> FaceException
> An error has occurred during Face Library execution.

Dart

    Image clone()

Returns

> Image
> The newly created image.

Exceptions

> FaceException
> An error has occurred during Face Library execution.

C#

    public Image Clone()

Returns

> Image
> The newly created image.

Exceptions

> FaceException
> An error has occurred during Face Library execution.

Java

    public Image clone() throws FaceException

Returns

> Image
> The newly created image.

Exceptions

> FaceException
> An error has occurred during Face Library execution.

Swift

    public func clone() throws -> Image

Returns

> Image
> The newly created image.

Exceptions

> FaceException
> An error has occurred during Face Library execution.

C

    int id3FaceImage_CopyTo (
        ID3_FACE_IMAGE hImage,
        ID3_FACE_IMAGE hImageDst)

Parameters

> `hImage` ID3_FACE_IMAGE
> in Handle to the Image object.
> `hImageDst` ID3_FACE_IMAGE
> out The newly created image.

Returns

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