Gimp.Image.set_colormap
@accepts(Gimp.Image, [guint8], int)
@returns(bool)
def set_colormap(self, colormap, num_colors):
# Python wrapper for gimp_image_set_colormap()
Sets the entries in the image's colormap.
This procedure sets the entries in the specified image's colormap. The number of colors is specified by the "num_colors" parameter and corresponds to the number of INT8 triples that must be contained in the "cmap" array.
- self
The image.
- colormap
The new colormap values.
- num_colors
Number of colors in the colormap array.
- Returns