## eog-exif-util

eog-exif-util

## Synopsis

    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);

## Description

## Details

### eog_exif_util_format_date ()

    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.

`date` : | a date string following Exif specifications
Returns : | a newly allocated date string formatted according to the current locale.

### eog_exif_util_get_value ()

    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.

`exif_data` : | pointer to an ExifData struct
`tag_id` : | the requested tag's id. See `exif-tag.h` from the libexif package for possible values (e.g. `EXIF_TAG_EXPOSURE_MODE`).
`buffer` : | a pre-allocated output buffer
`buf_size` : | size of `buffer`
Returns : | a pointer to `buffer`.