What is the quickest and easiest way to rotate this image?Code:BufferedImage bi2 = null;
try {bi2 = ImageIO.read(new File("robot.jpg"));} catch (IOException e) { e.printStackTrace();}
g.drawImage(bi2,x,y,Color.red,null);
Printable View
What is the quickest and easiest way to rotate this image?Code:BufferedImage bi2 = null;
try {bi2 = ImageIO.read(new File("robot.jpg"));} catch (IOException e) { e.printStackTrace();}
g.drawImage(bi2,x,y,Color.red,null);
Look at AffineTransform. getQuadrantRotateInstance().