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 Document Library execution.
Uint8List getData()

Returns

Uint8List
Data of the image buffer object.

Exceptions

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

Returns

byte[]
Data of the image buffer object.

Exceptions

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

Returns

byte[]
Data of the image buffer object.

Exceptions

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

Returns

[UInt8]
Data of the image buffer object.

Exceptions

An error has occurred during Document Library execution.
int id3DocumentImageBuffer_GetData (
    ID3_DOCUMENT_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 id3DocumentError file for the list of possible error codes.