A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from http://libvips.github.io/libvips/API/current/method.Image.get_blob.html below:

Vips.Image.get_blob

Method VipsImageget_blob Declaration [src]
int
vips_image_get_blob (
  const VipsImage* image,
  const char* name,
  void** data,
  size_t* length
)
Description [src]

Gets data from image under the name name, optionally returns its length in length. 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.
data

Type: An array of guint8

Pointer to area of memory.

The argument will be set by the function. The length of the array is specified in the length argument. The caller of the method takes ownership of the returned data, and is responsible for freeing it.
length

Type: size_t*

Return the blob length here, optionally.

The argument will be set by the function.
Return value

Type: int

0 on success, -1 otherwise.


RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4