gimp_image_set_active_layer << INDEX >> gimp_image_set_component_active

gimp_image_set_cmap (1995-1996)

NAME
gimp_image_set_cmap - Sets the entries in the image's colormap.
SYNOPSIS
gimp_image_set_cmap (image,num_bytes,cmap)
DESCRIPTION
This procedure sets the entries in the specified image's colormap. The number of entries is specified by the "num_bytes" parameter and corresponds to the number of INT8 triples that must be contained in the "cmap" array. The actual number of colors in the transmitted colormap is "num_bytes" / 3.
INPUT ARGUMENTS
TYPENAMEDESCRIPTION
IMAGEimageThe image
INT32num_bytesNumber of bytes in the colormap array: 0 <= num_bytes <= 768
INT8ARRAYcmapThe new colormap values
SOME SYNTAX ALTERNATIVES
$image->set_cmap (cmap)
AUTHOR
Spencer Kimball & Peter Mattis
(c)1995-1996 Spencer Kimball & Peter Mattis


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