rotate image sol2 with coordinates transform