Use a 2d transform for image swapping