Method

GimpMetadataset_from_exif

Declaration [src]

gboolean
gimp_metadata_set_from_exif (
  GimpMetadata* metadata,
  const guchar* exif_data,
  gint exif_data_length,
  GError** error
)

Description [src]

Sets the tags from a piece of Exif data on metadata.

Available since:2.10

Parameters

exif_data An array of guchar
 

The blob of Exif data to set.

 The length of the array is specified in the exif_data_length argument.
 The data is owned by the caller of the function.
exif_data_length gint
 

Length of exif_data, in bytes.

error GError **
  The return location for a GError*, or NULL.

Return value

Returns: gboolean
 

TRUE on success, FALSE otherwise.