Portrait.imageScale Property

Module: Portrait

Type: float

Definition

Scale to be applied to the source image to display the portrait.

image_scale: float

Exceptions

An error has occurred during Face Library execution.
double get imageScale => getImageScale();

Exceptions

An error has occurred during Face Library execution.
public float imageScale
{
    get => GetimageScale();
}

Exceptions

An error has occurred during Face Library execution.
public float getImageScale() throws FaceException

Exceptions

An error has occurred during Face Library execution.
public var imageScale: Float
    get {
        return try! getImageScale()
    }
}

Exceptions

An error has occurred during Face Library execution.
int id3FacePortrait_GetImageScale (ID3_FACE_PORTRAIT hPortrait, float * imageScale)

Returns

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