Method

GlyImageget_metadata_key_value

since: 2.0

Declaration [src]

gchar*
gly_image_get_metadata_key_value (
  GlyImage* image,
  const gchar* key
)

Description [src]

Get metadata that are stored as key-value pairs. A prominent example are PNG’s tEXt and zTXt chunks.

Note

In contrast to gdk-pixbuf’s option feature, the keys do not carry prefixes like tEXt:: or zTXt::.

Available since: 2.0

Parameters

key

Type: const gchar*

A null-terminated string.

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

Return value

Type: gchar*

The UTF-8 encoded value associated with key.

The caller of the method takes ownership of the returned data, and is responsible for freeing it.
The return value can be NULL.
The value is a NUL terminated UTF-8 string.