Adding image inversion.