Method

VipsImageget_blob_value

Declaration [src]

int
vips_image_get_blob_value (
  const VipsImage* image,
  const char* name,
  VipsBlob** blob
)

Description [src]

Gets blob from image under the name name. Use vips_image_get_typeof() to test for the existence of a piece of metadata.

Parameters

name

Type: const char*

Metadata name.

The data is owned by the caller of the method.
The value is a NUL terminated UTF-8 string.
blob

Type: VipsBlob

Return field value.

The argument will be set by the function.
The returned data is owned by the instance.

Return value

Type: int

0 on success, -1 otherwise.