Rotate images.