Portrait.toBuffer Method¶
Module: Portrait
Definition¶
Exports the portrait to a buffer.
to_buffer(self) -> bytearray
Returns
bytearrayThe buffer to which the portrait object is exported.
Exceptions
An error has occurred during Face Library execution.
Uint8List toBuffer()
Returns
Uint8ListThe buffer to which the portrait object is exported.
Exceptions
An error has occurred during Face Library execution.
public byte[] ToBuffer()
Returns
byte[]The buffer to which the portrait object is exported.
Exceptions
An error has occurred during Face Library execution.
public byte[] toBuffer() throws FaceException
Returns
byte[]The buffer to which the portrait object is exported.
Exceptions
An error has occurred during Face Library execution.
public func toBuffer() throws -> [UInt8]
Returns
[UInt8]The buffer to which the portrait object is exported.
Exceptions
An error has occurred during Face Library execution.
int id3FacePortrait_ToBuffer (
ID3_FACE_PORTRAIT hPortrait,
unsigned char * data,
int * dataSize)
Parameters
hPortraitID3_FACE_PORTRAITin Handle to the Portrait object.dataunsigned char *out The buffer to which the portrait object is exported.dataSizeint *in Size of the ‘data’ buffer. Receives the number of elements in the ‘data’ array.
Returns