Method
GimpImageget_colormap
Declaration [src]
guchar*
gimp_image_get_colormap (
GimpImage* image,
gint* colormap_len,
gint* num_colors
)
Description [src]
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.