Top | ![]() |
![]() |
![]() |
![]() |
GalagoImage represents image data, sort of like GdkPixbuf. However, this only supports pointing to a file on disk, or the contents of the file itself. This is used for photos and avatars.
GalagoImage *
galago_image_new_from_file (const gchar *filename
);
Creates a new image from a filename.
GalagoImage * galago_image_new_from_data (const guchar *data
,gsize len
);
Creates a new image from in-memory image data.
void galago_image_get_data (const GalagoImage *image
,guchar **ret_data
,gsize *ret_len
);
This function returns the image's data and the length of the data.
struct GalagoImage;
This is an opaque structure representing an image. This should not be used directly. Use the accessor functions below.
#define GALAGO_DBUS_IMAGE_INTERFACE "org.freedesktop.Galago.Image"
The D-BUS interface that GalagoImage maps to.