Now I want only the image to be show with a transition. In the above code, with the transition command added inside the tikzpicture environment, the complete slide as well as image are drawn with a transition. How do I restrict the transition to the image only?