How does one rotate an image (like gif,jpg,etc) using Python (cgi). Also, how can one resize an image? What I am trying to do is load an image in a browser (Netscape, say) and the allow the user to rotate and resize the image to fit in a window so as print it.