pdfimages松开PDF中的旋转

2024-05-14 16:18:49 发布

您现在位置:Python中文网/ 问答频道 /正文

PDF图像丢失旋转信息:

NB: pdfimages extracts the raw image data from the PDF file, without performing any additional transforms. Any rotation, clipping, color inversion, etc. done by the PDF content stream is ignored.

发件人:http://linuxcommand.org/man_pages/pdfimages1.html

到目前为止,我的应用程序只收到没有旋转的PDF文件。因为有些日子有PDF格式的PDF文件可以旋转成PDF格式的图像。运行exiftran -ai没有帮助。旋转似乎是在PDF中完成的:-(

你知道如何提取图像和尊重PDF的旋转信息吗?在

环境

我在寻找Python或Shell的解决方案。在


Tags: 文件thefrom图像image信息dataraw

热门问题