src/org/nutz/img/Images.java
public static BufferedImage rotate(Object srcIm, File taIm, int degree) {
        BufferedImage im = Images.read(srcIm);
        BufferedImage im2 = Images.rotate(im, degree);
        Images.write(im2, taIm);
        return im2;
    }
public static BufferedImage rotate(Object srcIm, File taIm, int degree) {
        BufferedImage im = Images.read(srcIm);
        BufferedImage im2 = Images.rotate(im, degree);
        Images.write(im2, taIm);
        return im2;
    }
对一个图像进行旋转

@param srcIm
原图像文件
@param taIm
转换后的图像文件
@param degree
旋转角度, 90 为顺时针九十度， -90 为逆时针九十度
@return 旋转后得图像对象