2004
Bill Skaggs
Recolor the image using colors from the active palette
This plug-in maps the contents of the specified drawable with the active palette. It calculates luminosity of each pixel and replaces the pixel by the palette sample at the corresponding index. A complete black pixel becomes the lowest palette entry, and complete white becomes the highest. Works on both Grayscale and RGB image with/without alpha channel.
unknown
Type | Name | Description |
---|---|---|
PF_INT | run-mode | The run mode { RUN-INTERACTIVE (0), RUN-NONINTERACTIVE (1) } |
PF_IMAGE | image | Input image (unused) |
PF_DRAWABLE | drawable | Input drawable |
None