I am having a bufferd-image i.e:
BufferedImage buffer = ImageIO.read(new File(file));
now i want to rotate it.. So how i can do it??
Previously i have used the image format i.e:
Image image = ImageIO.read(new File(file));
and could easily rotate a image using:
AffineTransform at = new AffineTransform(); at.rotate(0.5 * angle * Math.PI, width/2, height/2);
But i dont noe how to do it with the bufferd-image?? Can you help me??