[][src]Function k4a_sys_temp::k4a_image_get_format

pub unsafe extern "C" fn k4a_image_get_format(
    image_handle: k4a_image_t
) -> k4a_image_format_t

Get the format of the image.

\param image_handle Handle of the image for which the get operation is performed on.

\remarks Use this function to determine the format of the image buffer.

\returns This function is not expected to fail, all \ref k4a_image_t's are created with a known format. If the \p image_handle is invalid, the function will return ::K4A_IMAGE_FORMAT_CUSTOM.

\relates k4a_image_t

\xmlonly k4a.h (include k4a/k4a.h) k4a.lib k4a.dll \endxmlonly