plug-in-colormap-remap

Mukund Sivaraman <muks@mukund.org>

Description

Rearrange the colormap

Help

This procedure takes an indexed image and lets you alter the positions of colors in the colormap without visually changing the image.


Type

unknown

Parameters

Type Name Description
PF_INT run-mode The run mode { RUN-INTERACTIVE (0), RUN-NONINTERACTIVE (1) }
PF_IMAGE image Input image
PF_DRAWABLE drawable Input drawable
PF_INT num-colors Length of 'map' argument (should be equal to colormap size)
unknown map Remap array for the colormap

Return

None