All right…so I’ve been spending days and days looking at various methods by which
to rotate an image, and thus far haven’t been able to find what I’m looking for.
This is what I want to be able to do:
Image source = getImageFromWherever();
Image rotated = getRotatedImage(source, degrees);
…
Image getRotatedImage(Image source, int degrees)
{
// This is the part I don’t know how to do.
}
I’ve been able to rotate the image on screen, but not store the result in another
Image object. Suggestions? Thanks.