【发布时间】:2011-04-20 19:11:17
【问题描述】:
在下面的代码中,我的源图像的 dpi 为 600,但结果图像的 dpi 为 96,为什么?
RenderedOp source = JAI.create("fileload", "img/1.jpg");
FileOutputStream outputStream = new FileOutputStream("img/new1.jpg");
JAI.create("encode", source, outputStream, "JPEG", null);
JAI.create("filestore", source, "img/new1.jpg", "JPEG", null);
【问题讨论】:
标签: java image-processing resolution dpi jai