|  |  |  |  | 
Functions related to EXIF metadata — Functionality specific to the EXIF familiy of metadata information
While being part of GExiv2Metadata, these functions are dealing with specific aspects of EXIF
gboolean
gexiv2_metadata_is_exif_tag (const gchar *tag);
The Exiv2 Tag Reference can be found at http://exiv2.org/metadata.html
gboolean
gexiv2_metadata_get_supports_exif (GExiv2Metadata *self);
Query self
 whether it supports writing EXIF metadata.
gchar **
gexiv2_metadata_get_exif_tags (GExiv2Metadata *self);
Query self
 for a list of available EXIF tags
void
gexiv2_metadata_clear_exif (GExiv2Metadata *self);
Clears all EXIF metadata from the loaded image.
gboolean gexiv2_metadata_try_get_exif_tag_rational (GExiv2Metadata *self,const gchar *tag,gint *nom,gint *den,GError **error);
Fetch EXIF tag
 represented by a fraction. nom
 will contain the numerator,
den
 the denominator of the fraction on successful return.
| self | An instance of GExiv2Metadata | |
| tag | The tag you want the rational value for. | [in] | 
| nom | The numerator. | [out] | 
| den | The denominator. | [out] | 
| error | [allow-none] | 
Since: 0.12.2
gboolean gexiv2_metadata_try_set_exif_tag_rational (GExiv2Metadata *self,const gchar *tag,gint nom,gint den,GError **error);
Set EXIF tag
 represented by a fraction, with nom
 being the numerator,
den
 the denominator of the fraction.
| self | An instance of GExiv2Metadata | |
| tag | The Exiv2 tag. | [in] | 
| nom | Rational numerator | |
| den | Rational denominator | |
| error | [allow-none] | 
Since: 0.12.2
gboolean gexiv2_metadata_get_exif_thumbnail (GExiv2Metadata *self,guint8 **buffer,gint *size);
Get the thumbnail stored in the EXIF data of self
| self | An instance of GExiv2Metadata | |
| buffer | Where to store the thumbnail data. | [out][array length=size][transfer full] | 
| size | Size of the thumbnail's buffer. | [skip] | 
GBytes * gexiv2_metadata_get_exif_data (GExiv2Metadata *self,GExiv2ByteOrder byte_order,GError **error);
| self | An instance of GExiv2Metadata | |
| byte_order | Whether to export the data in little or big endian format | |
| error | [allow-none] | 
Since: 0.12.2
gboolean gexiv2_metadata_set_exif_thumbnail_from_file (GExiv2Metadata *self,const gchar *path,GError **error);
Sets or replaces the EXIF thumbnail with the image in the file
void gexiv2_metadata_try_set_exif_thumbnail_from_buffer (GExiv2Metadata *self,const guint8 *buffer,gint size,GError **error);
| self | An instance of GExiv2Metadata | |
| buffer | A buffer containing thumbnail data. | [array length=size] | 
| size | Size of the thumbnail's buffer. | [skip] | 
| error | [allow-none] | 
Since: 0.14.0
void gexiv2_metadata_try_erase_exif_thumbnail (GExiv2Metadata *self,GError **error);
Removes the EXIF thumbnail from the loaded image.
Since: 0.14.0
gboolean gexiv2_metadata_get_exif_tag_rational (GExiv2Metadata *self,const gchar *tag,gint *nom,gint *den);
gexiv2_metadata_get_exif_tag_rational has been deprecated since version 0.12.2 and should not be used in newly-written code.
Use gexiv2_metadata_try_get_exif_tag_rational() instead.
Fetch EXIF tag
 represented by a fraction. nom
 will contain the numerator,
den
 the denominator of the fraction on successful return.
| self | An instance of GExiv2Metadata | |
| tag | The tag you want the rational value for. | [in] | 
| nom | The numerator. | [out] | 
| den | The denominator. | [out] | 
gboolean gexiv2_metadata_set_exif_tag_rational (GExiv2Metadata *self,const gchar *tag,gint nom,gint den);
gexiv2_metadata_set_exif_tag_rational has been deprecated since version 0.12.2 and should not be used in newly-written code.
Use gexiv2_metadata_try_set_exif_tag_rational() instead.
Set EXIF tag
 represented by a fraction, with nom
 being the numerator,
den
 the denominator of the fraction.
| self | An instance of GExiv2Metadata | |
| tag | The Exiv2 tag. | [in] | 
| nom | Rational numerator | |
| den | Rational denominator | 
void gexiv2_metadata_set_exif_thumbnail_from_buffer (GExiv2Metadata *self,const guint8 *buffer,gint size);
gexiv2_metadata_set_exif_thumbnail_from_buffer has been deprecated since version 0.14.0 and should not be used in newly-written code.
Use gexiv2_metadata_try_set_exif_thumbnail_from_buffer() instead.
| self | An instance of GExiv2Metadata | |
| buffer | A buffer containing thumbnail data. | [array length=size] | 
| size | Size of the thumbnail's buffer. | [skip] | 
void
gexiv2_metadata_erase_exif_thumbnail (GExiv2Metadata *self);
gexiv2_metadata_erase_exif_thumbnail has been deprecated since version 0.14.0 and should not be used in newly-written code.
Use gexiv2_metadata_try_erase_exif_thumbnail() instead.
Removes the EXIF thumbnail from the loaded image.