gimp_file_load << INDEX >> gimp_file_save

gimp_file_load_thumbnail (1999-2000)

NAME
gimp_file_load_thumbnail - Loads the thumbnail for a file.
SYNOPSIS
(width,height,thumbnail_data_count,thumb_data) = gimp_file_load_thumbnail (filename)
DESCRIPTION
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.
INPUT ARGUMENTS
TYPENAMEDESCRIPTION
STRINGfilenameThe name of the file that owns the thumbnail to load
RETURN VALUES
TYPENAMEDESCRIPTION
INT32widthThe width of the thumbnail
INT32heightThe height of the thumbnail
INT32thumbnail_data_countThe number of bytes in thumbnail data
INT8ARRAYthumb_dataThe thumbnail data
SOME SYNTAX ALTERNATIVES
(width,height,thumb_data) = Gimp->file_load_thumbnail (filename)
(width,height,thumb_data) = file_load_thumbnail Layer (filename)
(width,height,thumb_data) = file_load_thumbnail Image (filename)
(width,height,thumb_data) = file_load_thumbnail Channel (filename)
(width,height,thumb_data) = file_load_thumbnail Display (filename)
(width,height,thumb_data) = file_load_thumbnail Drawable (filename)
AUTHOR
Adam D. Moss, Sven Neumann
(c)1999-2000 Adam D. Moss, Sven Neumann


This page was created by gimpdoc, written by Marc Lehmann <pcg@goof.com>