## eom-exif-util

eom-exif-util

## Functions

gchar * | eom_exif_util_format_date ()
ExifData * | eom_exif_data_copy ()
void | eom_exif_data_free ()
const gchar * | eom_exif_data_get_value ()

## Description

## Functions

### eom_exif_util_format_date ()

    gchar *
    eom_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.

#### Parameters

date | a date string following Exif specifications |

#### Returns

a newly allocated date string formatted according to the current locale.

### eom_exif_data_copy ()

    ExifData *
    eom_exif_data_copy (ExifData *data);

### eom_exif_data_free ()

    void
    eom_exif_data_free (ExifData *data);

### eom_exif_data_get_value ()

    const gchar *
    eom_exif_data_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.

#### Parameters

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` .

## Types and Values