java使用pdfbox读取PDF图片并且保存到指定路径
写这个原因是记录下自己踩过这种坑,写出正确方法,避免下次忘记了
/**
* 读取pdf获取图片并且保存到指定路径
* @param document
* @param path
* @throws IOException
*/
public static void getPdfImages(PDDocument document,String path) throws IOException {
List<Rendered
原创
2021-05-21 19:21:03 ·
555 阅读 ·
0 评论