for (int i = 0; i < width; i++) {
for (int j = 0; j < height; j++) {
int intPixel = image.getRGB(i, j);
image.setRGB(i, j, intPixel);
}
}
ImageIO.write(image, "JPG", new File("img/newfile01.jpg"));
这段代码制作了一个 96dpi 的图像,但源图像是 72 dpi!为什么