Rotate and image in Image View

Hi all.

I am currently finishing up a photo sorting application, and am looking to see if something is possible.

The application loads photos one at a time into an image view. I am wondering if it is possible to have a button that will rotate that image in the image view. I don’t necessarily need to save the rotated image (but if it’s easier that way, it’s okay), I just need an option to rotate the image.

Thanks much.

Okay, I figured it out.

I found my solution. Using the code here. (http://www.apple.com/applescript/imageevents/03.html)

Thanks much.