Static Image Rotation (JPG)
I am working on a project where I have 6 static square JPG images that I want to have on "screen" at the same time. (For those images I am using fpic for all six images.) However each fpic window I need to have a bang/button where I can rotate whatever image is in the window, clockwise (45,90,185,360). Just to be clear I do not want the image to flip or reverse, I need it to move clockwise as if it were in a fixed center point. I have searched tutorials and forums but I cannot seem to find an answer to this for .jpg images I have only seem some references to this with video.
PLEASE I would be grateful for any help you could provide. Thank you!
Take a look at the jit.rota object's help file. The x-anchor and y-anchor points should be set to the middle of your image in pixels, and then you just feed angle values.
Thank you, but I actually started there with jit.rota but it seems to be for movie files not jpg. (perhaps I am missing something).
A still image is merely a movie with one single frame, which will be output each time the jit.movie object receives a bang message.
Thank you Mr. Taylor. I appreciate your help!