Method
GimpUiPreviewAreaset_colormap
Declaration [src]
void
gimp_preview_area_set_colormap (
GimpPreviewArea* area,
const guchar* colormap,
gint num_colors
)
Description [src]
Sets the colormap for the GimpPreviewArea
widget. You need to
call this function before you use gimp_preview_area_draw()
with
an image type of GIMP_INDEXED_IMAGE
or GIMP_INDEXEDA_IMAGE
.
Since GIMP 2.2