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

◆ create_from_buffer()

static image k4a::image::create_from_buffer ( k4a_image_format_t  format,
int  width_pixels,
int  height_pixels,
int  stride_bytes,
uint8_t *  buffer,
size_t  buffer_size,
k4a_memory_destroy_cb_t buffer_release_cb,
void *  buffer_release_cb_context 
)
inlinestatic

Create an image from a pre-allocated buffer Throws error on failure.

See also
k4a_image_create_from_buffer