Method
VipsImageset_blob
Declaration [src]
void
vips_image_set_blob (
VipsImage* image,
const char* name,
VipsCallbackFn free_fn,
void* data,
size_t length
)
Description [src]
Attaches blob
as a metadata item on image
under the name name
. A
convenience
function over vips_image_set()
using a vips_blob.
See also: vips_image_get_blob(), vips_image_set().
Parameters
name |
const char* |
Metadata name. |
|
The data is owned by the caller of the function. | |
The value is a NUL terminated UTF-8 string. | |
free_fn |
VipsCallbackFn |
Free function for |
|
data |
An array of guint8 |
Pointer to area of memory. |
|
The length of the array is specified in the length argument. | |
The data is owned by the caller of the function. | |
length |
size_t |
Length of memory area. |