Function

Vipsvalue_get_blob

Declaration [src]

void*
vips_value_get_blob (
  const GValue* value,
  size_t* length
)

Description [src]

Returns the data pointer from a blob. Optionally returns the length too.

blobs are things like ICC profiles or EXIF data. They are relocatable, and are saved to VIPS files for you coded as base64 inside the XML. They are copied by copying reference-counted pointers.

See also: vips_value_set_blob()

Parameters

value GValue
 

GValue to set.

 The data is owned by the caller of the function.
length size_t*
 

Optionally return length of memory area.

 The argument will be set by the function.
 The argument can be NULL.

Return value

Returns: void*
 

The pointer held by value.

 The data is owned by the called function.
 The return value can be NULL.