gimp-file-load-thumbnail

Adam D. Moss
Sven Neumann

Description

Loads the thumbnail for a file.

Help

This procedure tries to load a thumbnail that belongs to the file with the given filename. This name is a full pathname. The returned data is an array of colordepth 3 (RGB), regardless of the image type. Width and height of the thumbnail are also returned. Don't use this function if you need a thumbnail of an already opened image, use 'gimp-image-thumbnail' instead.


Type

unknown

Parameters

Type Name Description
PF_VALUE filename The name of the file that owns the thumbnail to load

Return

Type Name Description
PF_INT width The width of the thumbnail
PF_INT height The height of the thumbnail
PF_INT thumb-data-count The number of bytes in thumbnail data (thumb-data-count >= 0)
unknown thumb-data The thumbnail data