Class
GExiv2PreviewImage
Description [src]
final class GExiv2.PreviewImage : GObject.Object
{
/* No available fields */
}
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.
GExiv2PreviewProperties **properties, **it;
properties = it = gexiv2_metadata_get_preview_properties(metadata);
while (*it) {
preview_image = gexiv2_metadata_get_preview_image(metadata, *it);
it++;
}
Instance methods
gexiv2_preview_image_get_data
Get a pointer to the image data of the preview image. The returned data is owned by the preview image and must not be freed.
gexiv2_preview_image_get_extension
Get the file extension commonly associated with the preview image.
gexiv2_preview_image_try_write_file
Write the preview image to a file in path.
deprecated: 0.16.0 since: 0.14.0
Signals
Signals inherited from GObject (1)
GObject::notify
The notify signal is emitted on an object when one of its properties has its value set through g_object_set_property(), g_object_set(), et al.