plug-in-colormap-swap

Mukund Sivaraman <muks@mukund.org>

Description

Swap two colors in the colormap

Help

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


Type

unknown

Parameters

Type Name Description
PF_INT run-mode The run mode { RUN-NONINTERACTIVE (1) }
PF_IMAGE image Input image
PF_DRAWABLE drawable Input drawable
PF_INT8 index1 First index in the colormap
PF_INT8 index2 Second (other) index in the colormap

Return

None