Function invert

Invert the components of an image.

The image to invert.

Invert options.

The inverted image.