imgSessionGetBufferSize
Usage
rval imgSessionGetBufferSize(SESSION_ID sid, uInt32* sizeNeeded);
Purpose
Gets the size, in bytes, of an image.
Parameters
Name | Type | Direction |
sid | SESSION_ID | input |
sizeNeeded | uInt32* | output |
rval | Int32 | output |
Parameter Discussion
sid: valid SESSION_ID.
sizeNeeded: size, in bytes, of an image.
Return Value
This function returns 0 on success. On failure, this function returns an error code. For information about the error code, call imgShowError.
![]() |
Note If you change the ROI after calling this function, the return value is no longer accurate. |