OOF2: The Manual
Name
OOF.Image.Modify.Negate — Negate the colors in the image.
Synopsis
OOF.Image.Modify.Negate(image
)
Details
- Parent Menu: OOF.Image.Modify
-
Callback: function
doImageMod
in moduleooflib.image.imagemodifier
-
Parameters:
image
- Type: The path to an existing
Image
object.
Description
Negate all the colors in an Image
. Each component
x (red, green, and blue) of a pixel is
replaced by 1-x.
This routine comes from the ImageMagick library.
Figure 6.36. Negating an Image

A micrograph of Si3N4 (courtesy of C.-H. Hsueh).

The negative of the image.