code: public static BufferedImage roate90(BufferedImage src) {
  		int width = src.getWidth();
  		int height = src.getHeight();
  
  		BufferedImage bRotate = new BufferedImage(height, width, src.getType());
  		for (int x = 0; x < width; x++)
  			for (int y = 0; y < height; y++)
  				bRotate.setRGB(height - 1 - y, x, src.getRGB(x, y));
  		return bRotate;
  	}
docs: 将图片顺时针旋转90度
  
  @param src
  @return