读取
File input = "d:\\read.png"; BufferedImage image = ImageIO.read(input);
保存
File output = "d:\\write.png"; ImageIO.write(bufferedImage, "png", output);
读取
File input = "d:\\read.png"; BufferedImage image = ImageIO.read(input);
保存
File output = "d:\\write.png"; ImageIO.write(bufferedImage, "png", output);