Gimp.Image.get_colormap
@accepts(Gimp.Image, int, int)
@returns([guint8])
def get_colormap(self, colormap_len, num_colors):
# Python wrapper for gimp_image_get_colormap()
Returns the image's colormap
This procedure returns an actual pointer to the image's colormap, as well as the number of colors contained in the colormap. If the image is not of base type INDEXED, this pointer will be NULL.
- self
The image.
- colormap_len
The size (in bytes) of the returned colormap
- num_colors
Returns the number of colors in the colormap array.
- Returns