Returns

gimp_thumbnail_load_thumb ()

Attempts to load a thumbnail preview for the image associated with
thumbnail
. Before you use this function you need need to set an
image location using gimp_thumbnail_set_uri() or
gimp_thumbnail_set_filename(). You can also peek at the thumb
before loading it using gimp_thumbnail_peek_thumb.

This function will return the best matching pixbuf for the
specified size
. It returns the pixbuf as loaded from disk. It is
left to the caller to scale it to the desired size. The returned
pixbuf may also represent an outdated preview of the image file.
In order to verify if the preview is uptodate, you should check the
"thumb_state" property after calling this function.

gimp_thumbnail_save_failure ()

Saves a failure thumbnail for the image associated with
thumbnail
. This is an empty pixbuf that indicates that an attempt
to create a preview for the image file failed. It should be used to
prevent the software from further attempts to create this thumbnail.

Parameters

gimp_thumbnail_delete_others ()

Removes all other thumbnails from the global thumbnail
repository. Only the thumbnail for size
is not deleted. This
function should be used after a thumbnail has been successfully
updated. See the spec for a more detailed description on when to
delete thumbnails.

Parameters

gimp_thumbnail_has_failed ()

Checks if a valid failure thumbnail for the given thumbnail exists
in the global thumbnail repository. This may be the case even if
gimp_thumbnail_peek_thumb() doesn't return GIMP_THUMB_STATE_FAILED
since there might be a real thumbnail and a failure thumbnail for
the same image file.

The application should not attempt to create the thumbnail if a
valid failure thumbnail exists.