Top |
Functions
Signals
void | changed | Run Last |
void | file-changed | Run Last |
void | next-frame | Run Last |
void | save-progress | Run Last |
void | size-prepared | Run Last |
void | thumbnail-changed | Run Last |
Types and Values
enum | EogImageData |
#define | EOG_IMAGE_DATA_ALL |
enum | EogImageError |
#define | EOG_IMAGE_ERROR |
enum | EogImageMetadataStatus |
enum | EogImageStatus |
EogImage |
Functions
eog_image_load ()
gboolean eog_image_load (EogImage *img
,EogImageData data2read
,EogJob *job
,GError **error
);
eog_image_save_as_by_info ()
gboolean eog_image_save_as_by_info (EogImage *img
,EogImageSaveInfo *source
,EogImageSaveInfo *target
,GError **error
);
eog_image_save_by_info ()
gboolean eog_image_save_by_info (EogImage *img
,EogImageSaveInfo *source
,GError **error
);
eog_image_get_pixbuf ()
GdkPixbuf *
eog_image_get_pixbuf (EogImage *img
);
Gets the GdkPixbuf of the image
eog_image_get_thumbnail ()
GdkPixbuf *
eog_image_get_thumbnail (EogImage *img
);
Gets the thumbnail pixbuf for img
eog_image_get_xmp_info ()
gpointer
eog_image_get_xmp_info (EogImage *img
);
Gets the XMP info for img
or NULL if compiled without
libexempi support.
eog_image_get_file ()
GFile *
eog_image_get_file (EogImage *img
);
Gets the GFile associated with img
eog_image_apply_display_profile ()
void eog_image_apply_display_profile (EogImage *img
,cmsHPROFILE display_profile
);
eog_image_get_supported_mime_types ()
GList *
eog_image_get_supported_mime_types (void
);
Gets the list of supported mimetypes
eog_image_is_supported_mime_type ()
gboolean
eog_image_is_supported_mime_type (const char *mime_type
);
eog_image_file_changed ()
void
eog_image_file_changed (EogImage *img
);
Marks the image file contents as changed. Also, emits EogImage::file-changed signal.
eog_image_get_metadata_status ()
EogImageMetadataStatus
eog_image_get_metadata_status (EogImage *img
);
Returns the current status of the image metadata, that is, whether the metadata has not been read yet, is ready, or not available at all.
eog_image_get_transform ()
EogTransform *
eog_image_get_transform (EogImage *img
);
Get img
transform.
eog_image_is_animation ()
gboolean
eog_image_is_animation (EogImage *img
);
Checks whether a given image is animated.
eog_image_start_animation ()
gboolean
eog_image_start_animation (EogImage *img
);
Starts playing an animated image.
eog_image_is_file_writable ()
gboolean
eog_image_is_file_writable (EogImage *img
);
Evaluate if the user has write permission on the image file.
Returns
TRUE
on success, FALSE
if the user hasn't write permissions on it,
or img
is not an EogImage.
eog_image_is_multipaged ()
gboolean
eog_image_is_multipaged (EogImage *img
);
Check whether the image actually contains multiple images/pages. This can happen for TIFF files. GIF animations are not multipaged.
Note that this only works if the image data is loaded.
Since: 3.18
Types and Values
Signal Details
The “file-changed”
signal
void user_function (EogImage *eogimage, gpointer user_data)
Flags: Run Last
The “next-frame”
signal
void user_function (EogImage *img, gint delay, gpointer user_data)
The ::next-frame signal will be emitted each time an animated image advances to the next frame.
Parameters
img |
the object which received the signal. |
|
delay |
number of milliseconds the current frame will be displayed. |
|
user_data |
user data set when the signal handler was connected. |
Flags: Run Last
The “save-progress”
signal
void user_function (EogImage *eogimage, gfloat arg1, gpointer user_data)
Flags: Run Last
The “size-prepared”
signal
void user_function (EogImage *eogimage, gint arg1, gint arg2, gpointer user_data)
Flags: Run Last
The “thumbnail-changed”
signal
void user_function (EogImage *eogimage, gpointer user_data)
Flags: Run Last