gimp_image_set_unit << INDEX >> gimp_image_undo_disable

gimp_image_thumbnail (1999)

NAME
gimp_image_thumbnail - Get a thumbnail of an image.
SYNOPSIS
(width,height,bpp,thumbnail_data_count,thumbnail_data) = gimp_image_thumbnail (image,width,height)
DESCRIPTION
This function gets data from which a thumbnail of an image 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 bits per pixel in the image. If the image has an alpha channel, it is also returned.
INPUT ARGUMENTS
TYPENAMEDESCRIPTION
IMAGEimageThe image
INT32widthThe thumbnail width
INT32heightThe thumbnail height
RETURN VALUES
TYPENAMEDESCRIPTION
INT32widthThe previews width
INT32heightThe previews height
INT32bppThe previews bpp
INT32thumbnail_data_countThe number of bytes in thumbnail data
INT8ARRAYthumbnail_dataThe thumbnail data
SOME SYNTAX ALTERNATIVES
(width,height,bpp,thumbnail_data) = $image->thumbnail (width,height)
AUTHOR
Andy Thomas
(c)1999 Andy Thomas


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