gimp_drawable_set_pixel << INDEX >> gimp_drawable_type

gimp_drawable_thumbnail (1999)

NAME
gimp_drawable_thumbnail - Get a thumbnail of a drawable.
SYNOPSIS
(width,height,bpp,thumbnail_data_count,thumbnail_data) = gimp_drawable_thumbnail (drawable,width,height)
DESCRIPTION
This function gets data from which a thumbnail of a drawable preview can be created. Maximum x or y dimension is 128 pixels. The pixels are returned in the RGB[A] format. The bpp return value gives the number of bytes in the image. The alpha channel also returned if the drawable has one.
INPUT ARGUMENTS
TYPENAMEDESCRIPTION
DRAWABLEdrawableThe drawable
INT32widthThe thumbnail width
INT32heightThe thumbnail height
RETURN VALUES
TYPENAMEDESCRIPTION
INT32widthThe previews width
INT32heightThe previews height
INT32bppThe previews bpp
INT32thumbnail_data_countThe number of pixels in thumbnail data
INT8ARRAYthumbnail_dataThe thumbnail data
SOME SYNTAX ALTERNATIVES
(width,height,bpp,thumbnail_data) = $drawable->thumbnail (width,height)
AUTHOR
Andy Thomas
(c)1999 Andy Thomas


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