| Eye of GNOME Reference Manual | ||||
|---|---|---|---|---|
| Top | Description | ||||
gchar * eog_exif_util_format_date (const gchar *date); const gchar * eog_exif_util_get_value (ExifData *exif_data,gint tag_id,gchar *buffer,guint buf_size);
gchar * eog_exif_util_format_date (const gchar *date);
Takes a date string formatted after Exif specifications and generates a more readable, possibly localized, string out of it.
|
a date string following Exif specifications |
Returns : |
a newly allocated date string formatted according to the current locale. |
const gchar * eog_exif_util_get_value (ExifData *exif_data,gint tag_id,gchar *buffer,guint buf_size);
Convenience function to extract a string representation of an Exif tag
directly from an ExifData struct. The string is
written into buffer as far as buf_size permits.
|
pointer to an ExifData struct |
|
the requested tag's id. See exif-tag.h
from the libexif package for possible values (e.g. EXIF_TAG_EXPOSURE_MODE).
|
|
a pre-allocated output buffer |
|
size of buffer
|
Returns : |
a pointer to buffer.
|