27th March 1997, 12th June 2006
Adam D. Moss (adam@foxbox.org), Mukund Sivaraman <muks@mukund.org>
Invert the brightness of each pixel
This function takes an indexed/RGB image and inverts its 'value' in HSV space. The upshot of this is that the color and saturation at any given point remains the same, but its brightness is effectively inverted. Quite strange. Sometimes produces unpleasant color artifacts on images from lossy sources (ie. JPEG).
unknown
Type | Name | Description |
---|---|---|
PF_INT | run-mode | The run mode { RUN-INTERACTIVE (0), RUN-NONINTERACTIVE (1) } |
PF_IMAGE | image | Input image (used for indexed images) |
PF_DRAWABLE | drawable | Input drawable |
None