This script will rotate an existing image about the X, Y and Z axes. It will also include a magnification factor so you can scale your image while rotating.
The inputs are the angles to rotate the image around the X, Y, and Z axes. Some values (usually high X and Y values) will result in a very distorted picture, regardless of what other inputs you have. If you get one of those, just undo and try again. That's just the way math works, folks!