In this lab you are going to practice rotating pictures left and right.
Lab10 program with a main method that shows a
picture from the CS140 gallery folder. Choose a picture you have not used before.
Or better yet find your own picture on the web and use it.
rotateLeft method we did in lecture today and use it
on your picture above and display it. In which class and file does this method go?
rotateLeft method on your example image and display it.
In order to do this
you need to create a new picture object of
the appropriate height and width before you can call rotateLeft.
rotateLeft method to rotate an image 180 degrees.
Picture method rotateRight that rotates an
image 90 degrees to the right.
rotateRight method on an example pitcure from the gallery.
Here's the original bug picture.
And here it is flipped.