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 139 of file image.c.
References zbar_image_free_data(), and zbar_image_set_data().
Referenced by zbar::Image::set_data(), and zbar_image_set_data().
img->data = data;
img->datalen = len;
img->cleanup = cleanup;