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
TYPE
NAME
DESCRIPTION
IMAGE
image
The image
INT32
num_bytes
Number of bytes in the colormap array: 0 <= num_bytes <= 768
INT8ARRAY
cmap
The new colormap values
SOME SYNTAX ALTERNATIVES
$image->set_cmap (cmap)
AUTHOR
Spencer Kimball & Peter Mattis (c)1995-1996 Spencer Kimball & Peter Mattis