对您来说不幸的是,答案是“不!”。仅可通过 Acrobat Reader 中的 GUI 将 PDF 页面打印为图像。
要查看包含所有可用选项的列表,请运行此命令:
acroread -help
要查看所有可用选项的说明,请运行此命令:(
man acroread
我假设您在 Linux 或 Unix 上使用 acroread。因为在 Windows 上,您' d 的 CLI 选项甚至更少...并且一些不完整的文档是 此处。)
Unfortunately for you, the answer is "No!". Printing PDF pages as an image is only available through the GUI in Acrobat Reader.
To see a list with all available options, run this:
acroread -help
To see an explanation for all the available options, run this:
man acroread
(I assume you are using acroread on Linux or Unix. Because on Windows, you'd have even less CLI options for it... and some incomplete documentation of which is here.)
发布评论
评论(2)
请注意,Ghostscript 可以将 PDF 转换为图像,您可以从命令行使用它(对于脚本编写很有用)。
例如,在 unix 上要将 PDF 转换为 90 dpi 的 JPEG 页面,请使用:
将创建单独的页面,如 out-1.jpg、out-2.jpg 等。
Note that Ghostscript can convert PDF's to image and you can use this from command line (useful for scripting).
For instance, on unix to convert a PDF to JPEG pages at 90 dpi, use:
will create individual pages as out-1.jpg, out-2.jpg, etc.
对您来说不幸的是,答案是“不!”。仅可通过 Acrobat Reader 中的 GUI 将 PDF 页面打印为图像。
要查看包含所有可用选项的列表,请运行此命令:
要查看所有可用选项的说明,请运行此命令:(
我假设您在 Linux 或 Unix 上使用
acroread
。因为在 Windows 上,您' d 的 CLI 选项甚至更少...并且一些不完整的文档是 此处。)Unfortunately for you, the answer is "No!". Printing PDF pages as an image is only available through the GUI in Acrobat Reader.
To see a list with all available options, run this:
To see an explanation for all the available options, run this:
(I assume you are using
acroread
on Linux or Unix. Because on Windows, you'd have even less CLI options for it... and some incomplete documentation of which is here.)