ImageBuffer.getData Method

Module: ImageBuffer

Definition

Gets the image buffer data.

get_data(self) -> bytearray

Returns

bytearray
Data of the image buffer object.

Exceptions

An error has occurred during Face Library execution.
Uint8List getData()

Returns

Uint8List
Data of the image buffer object.

Exceptions

An error has occurred during Face Library execution.
public byte[] GetData()

Returns

byte[]
Data of the image buffer object.

Exceptions

An error has occurred during Face Library execution.
public byte[] getData() throws FaceException

Returns

byte[]
Data of the image buffer object.

Exceptions

An error has occurred during Face Library execution.
public func getData() throws -> [UInt8]

Returns

[UInt8]
Data of the image buffer object.

Exceptions

An error has occurred during Face Library execution.
int id3FaceImageBuffer_GetData (
    ID3_FACE_IMAGE_BUFFER hImageBuffer,
    unsigned char * data,
    int * dataSize)

Parameters

in Handle to the ImageBuffer object.

data unsigned char *
out Data of the image buffer object.

dataSize int *
in Size of the ‘data’ buffer. Receives the number of elements in the ‘data’ array.

Returns

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