Python program that resizes (shrinks) and rotates jpeg images.