如何从PDF中提取图像及其元数据?

sea*_*ean 6 java pdf itext pdfbox

是否可以使用Java从PDF文件中提取图像并将其导出到特定文件夹而不会丢失其原始创建和修改日期?我试图通过使用IText和PDFBox来实现这一目标,但没有成功.欢迎任何想法或例子.

mar*_*ens 6

图像不包含元数据,并作为原始数据存储,需要将其组合成图像.我写了两篇博客文章,解释图像数据如何存储在PDF文件中,网址https://blog.idrsolutions.com/2010/04/understanding-the-pdf-file-format-h​​ow-are-images-stored/https ://blog.idrsolutions.com/2010/09/understanding-the-pdf-file-format-images/