Commit 825483d3 by guanguan1009

降低dpi

parent 08b93ec1
......@@ -40,7 +40,7 @@ public class MyTask implements Runnable {
imgFilePath.append(String.valueOf(i + 1));
imgFilePath.append(".png");
File dstFile = new File(imgFilePath.toString());
BufferedImage image = renderer.renderImageWithDPI(i, 250);
BufferedImage image = renderer.renderImageWithDPI(i, 150);
logger.info("线程:{} 开始转换第{}页pdf", Thread.currentThread().getName(), i);
ImageIO.write(image, "png", dstFile);
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment