Method

VipsImageget_string

Declaration [src]

int
vips_image_get_string (
  const VipsImage* image,
  const char* name,
  const char** out
)

Description [src]

Gets out from im under the name name. The field must be of type G_TYPE_STRING or VIPS_TYPE_REF_STRING.

Do not free out.

Use vips_image_get_as_string() to fetch any field as a string.

Parameters

name

Type: const char*

Field name.

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

Type: const char**

Return field value.

The argument will be set by the function.
The returned data is owned by the instance.
The value is a NUL terminated UTF-8 string.

Return value

Type: int

0 on success, -1 otherwise.

pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy