Invert colors of an image