gimp-image-set-colormap

Spencer Kimball & Peter Mattis

Description

Sets the entries in the image's colormap.

Help

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 'colormap' array. The actual number of colors in the transmitted colormap is 'num-bytes' / 3.


Type

unknown

Parameters

Type Name Description
PF_IMAGE image The image
PF_INT num-bytes Number of bytes in the colormap array (0 <= num-bytes <= 768)
unknown colormap The new colormap values

Return

None