getBinaryDataInfo

Navigation:  NxLib API > C++ Interface > NxLibItem >

getBinaryDataInfo

Previous pageReturn to chapter overviewNext page

Reads the properties of a Binary node. You can omit retrieving any of the properties by setting the corresponding parameter pointer to 0.

Signatures

Variants throwing exceptions on API errors:

void getBinaryDataInfo(int* width, int* height, int* channels, int* bytesPerElement, bool* isFloat, double* timestamp) const

Variants returning API errors as int* parameter:

void getBinaryDataInfo(int* returnCode, int* width, int* height, int* channels, int* bytesPerElement, bool* isFloat, double* timestamp) const

Parameters

returnCode

The error code returned when accessing the item.

width

Width of the image.

height

Height of the image.

channels

Number of channels, i.e. elements per pixels

bytesPerElement

Size of each element.

isFloat

Indicates whether elements are an IEEE float type of the corresponding size

timestamp

Timestamp when the binary blob was generated.

Return Value

none