plug-in-colortoalpha

Seth Burgess

Description

Convert a specified color to transparency

Help

This replaces as much of a given color as possible in each pixel with a corresponding amount of alpha, then readjusts the color accordingly.


Type

unknown

Parameters

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
PF_COLOUR color Color to remove

Return

None