| Top |  |  |  |  | 
| GExiv2PreviewImageGExiv2PreviewImage — Class describing preview images (or thumbnails) that are part of the metadata. | 
GExiv2PreviewImage is an accessor to the preview images contained in the image's metadata. This could be anything from a thumbnail to a full-sized camera development of a RAW image.
The GExiv2PreviewImage is obtained by calling gexiv2_metadata_get_preview_image()
with an instance of GExiv2PreviewProperties that are describing the image
to be fetched.
| 1 2 3 4 5 6 7 | GExiv2PreviewProperties **properties, **it; properties = it = gexiv2_metadata_get_preview_properties(metadata); while (*it) { preview_image = gexiv2_metadata_get_preview_image(metadata, *it); it++; } | 
void
gexiv2_preview_image_free (GExiv2PreviewImage *self);
gexiv2_preview_image_free has been deprecated since version 0.10.3 and should not be used in newly-written code.
Use g_object_unref() instead.
Releases the preview image and all associated memory.
const guint8 * gexiv2_preview_image_get_data (GExiv2PreviewImage *self,guint32 *size);
| self | An instance of GExiv2PreviewImage | |
| size | The size of the buffer holding the data. | [out][skip] | 
const gchar *
gexiv2_preview_image_get_mime_type (GExiv2PreviewImage *self);
const gchar *
gexiv2_preview_image_get_extension (GExiv2PreviewImage *self);
guint32
gexiv2_preview_image_get_width (GExiv2PreviewImage *self);
guint32
gexiv2_preview_image_get_height (GExiv2PreviewImage *self);
glong gexiv2_preview_image_write_file (GExiv2PreviewImage *self,const gchar *path);
| self | An instance of GExiv2PreviewImage | |
| path | The file path to write the preview image to. | [in] |