Image.pixelFormat Property

Module: Image

Type: PixelFormat

Definition

Pixel format.

pixel_format: PixelFormat

Exceptions

An error has occurred during Face Library execution.
PixelFormat get pixelFormat => getPixelFormat();

Exceptions

An error has occurred during Face Library execution.
public PixelFormat pixelFormat
{
    get => GetpixelFormat();
}

Exceptions

An error has occurred during Face Library execution.
public PixelFormat getPixelFormat() throws FaceException

Exceptions

An error has occurred during Face Library execution.
public var pixelFormat: PixelFormat
    get {
        return try! getPixelFormat()
    }
}

Exceptions

An error has occurred during Face Library execution.
int id3FaceImage_GetPixelFormat (ID3_FACE_IMAGE hImage, id3FacePixelFormat * ePixelFormat)

Returns

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