Top | ![]() |
![]() |
![]() |
![]() |
GrlMedia * | grl_media_image_new () |
void | grl_media_image_add_url_data () |
const gchar * | grl_media_image_get_camera_model () |
gfloat | grl_media_image_get_exposure_time () |
const gchar * | grl_media_image_get_flash_used () |
gint | grl_media_image_get_height () |
gfloat | grl_media_image_get_iso_speed () |
gint | grl_media_image_get_orientation () |
const gchar * | grl_media_image_get_url_data () |
const gchar * | grl_media_image_get_url_data_nth () |
gint | grl_media_image_get_width () |
void | grl_media_image_set_camera_model () |
void | grl_media_image_set_exposure_time () |
void | grl_media_image_set_flash_used () |
void | grl_media_image_set_height () |
void | grl_media_image_set_iso_speed () |
void | grl_media_image_set_orientation () |
void | grl_media_image_set_size () |
void | grl_media_image_set_url_data () |
void | grl_media_image_set_width () |
This high level class represents an image multimedia item. It has methods to set and get the size, width and height properties
GrlMedia *
grl_media_image_new (void
);
Creates a new data image object.
Since 0.1.4
void grl_media_image_add_url_data (GrlMediaImage *image
,const gchar *url
,const gchar *mime
,gint width
,gint height
);
Sets all the keys related with the URL of a media resource and adds it to
image
(useful for resources with more than one URL).
image |
the image instance |
|
url |
a image's url |
|
mime |
image mime-type |
|
width |
image width, or -1 to ignore |
|
height |
image height, or -1 to ignore |
Since 0.1.10
const gchar *
grl_media_image_get_camera_model (GrlMediaImage *image
);
Since 0.1.12
gfloat
grl_media_image_get_exposure_time (GrlMediaImage *image
);
Since 0.1.12
const gchar *
grl_media_image_get_flash_used (GrlMediaImage *image
);
whether the flash was used See http://library.gnome.org/devel/ontology/unstable/nmm-classes.htmlnmm-Flash
Since 0.1.12
gfloat
grl_media_image_get_iso_speed (GrlMediaImage *image
);
Since 0.1.12
gint
grl_media_image_get_orientation (GrlMediaImage *image
);
Since 0.1.12
const gchar * grl_media_image_get_url_data (GrlMediaImage *image
,gchar **mime
,gint *width
,gint *height
);
Since 0.1.10
const gchar * grl_media_image_get_url_data_nth (GrlMediaImage *image
,guint index
,gchar **mime
,gint *width
,gint *height
);
Since 0.1.10
void grl_media_image_set_camera_model (GrlMediaImage *image
,const gchar *camera_model
);
void grl_media_image_set_exposure_time (GrlMediaImage *image
,gfloat exposure_time
);
void grl_media_image_set_flash_used (GrlMediaImage *image
,const gchar *flash_used
);
void grl_media_image_set_height (GrlMediaImage *image
,gint height
);
Set the height of the image
Since 0.1.4
void grl_media_image_set_iso_speed (GrlMediaImage *image
,gfloat iso_speed
);
Set the iso_speed of the image
Since 0.1.12
void grl_media_image_set_orientation (GrlMediaImage *image
,gint orientation
);
Set the orientation of the image
Since 0.1.12
void grl_media_image_set_size (GrlMediaImage *image
,gint width
,gint height
);
Set the size of the image
Since 0.1.4
void grl_media_image_set_url_data (GrlMediaImage *image
,const gchar *url
,const gchar *mime
,gint width
,gint height
);
Sets all the keys related with the URL of an image resource in one go.
image |
the media instance |
|
url |
the image's url |
|
mime |
image mime-type |
|
width |
image width, or -1 to ignore |
|
height |
image height, or -1 to ignore |
Since 0.1.10
void grl_media_image_set_width (GrlMediaImage *image
,gint width
);
Set the width of the image
Since 0.1.4