问题 I am trying to rotate an animated gif stored in an ImageIcon using an AffineTransform. The result is that the image does not get drawn. Here's my code: AffineTransform trans = AffineTransform.getRotateInstance(imgYaw, img.getImage().getWidth(null) / 2, img.getImage().getHeight(null) / 2); AffineTransformOp transo = new AffineTransformOp(trans, AffineTransformOp.TYPE_BILINEAR); BufferedImage bufferedimg = new BufferedImage(img.getImage().getWidth(null), img.getImage().getHeight(null),