|  |  |  | Eye of GNOME Reference Manual |  | 
|---|---|---|---|---|
| Top | Description | ||||
void eog_thumbnail_init (void); GdkPixbuf * eog_thumbnail_fit_to_size (GdkPixbuf *thumbnail,gint dimension); GdkPixbuf * eog_thumbnail_add_frame (GdkPixbuf *thumbnail); GdkPixbuf * eog_thumbnail_load (EogImage *image,GError **error); #define EOG_THUMBNAIL_ORIGINAL_WIDTH #define EOG_THUMBNAIL_ORIGINAL_HEIGHT
GdkPixbuf * eog_thumbnail_fit_to_size (GdkPixbuf *thumbnail,gint dimension);
Ensures a pixbuf fits a given dimension
| 
 | a GdkPixbuf | 
| 
 | the maximum width or height desired | 
| Returns : | a new GdkPixbuf. [transfer full] | 
GdkPixbuf *         eog_thumbnail_add_frame             (GdkPixbuf *thumbnail);
Adds a frame to thumbnail
| 
 | a GdkPixbuf | 
| Returns : | a new GdkPixbuf, storing thumbnailnicely framed. [transfer full] | 
GdkPixbuf * eog_thumbnail_load (EogImage *image,GError **error);
Loads the thumbnail for image. In case of error, NULL is returned
and error is set.
| 
 | a EogImage | 
| 
 | location to store the error ocurring or NULLto ignore | 
| Returns : | a new GdkPixbuf with the thumbnail for imageorNULLin case of error. [transfer full] |