Azure Kinect Sensor SDK  refs/heads/release/1.4.x
Documentation for https://github.com/Microsoft/Azure-Kinect-Sensor-SDK

◆ k4a_image_get_size()

size_t k4a_image_get_size ( k4a_image_t  image_handle)
related

Get the image buffer size.

Parameters
image_handleHandle of the image for which the get operation is performed on.
Remarks
Use this function to know what the size of the image buffer is returned by k4a_image_get_buffer().
Returns
The function will return 0 if there is an error, and will normally return the image size. Since all k4a_image_t instances are created with an image buffer, this function should only return 0 if the image_handle is invalid.