Added ability to invert an image