Use this command to invert the colors in the specified image, giving it the appearance of a photographic negative.
This command supports 12- and 16-bit grayscale and 48- and 64-bit color images. Support for 12- and 16-bit grayscale and 48- and 64-bit color images is available only in the Document/Medical toolkits. This command supports unsigned data images, but not signed ones. This command does not support 32-bit grayscale images. This function can only process entire images. It does not support regions.
Note: All RasterCommands in this assembly modify the underlying properties of the input RasterImage, including but not limited to:
If you wish to avoid RasterImage property fidelity loss, pass a clone of your RasterImage to all RasterCommands in this assembly.