specify image sample data. when image data is no longer needed by the library the specific data cleanup handler will be called (unless NULL)
Definition at line 105 of file image.c.
References zebra_image_free_data(), and zebra_image_set_data().
Referenced by zebra::Image::set_data(), and zebra_image_set_data().
img->data = data;
img->datalen = len;
img->cleanup = cleanup;