如何在Linux中对PDF文件进行快照?
如何在 Linux 中拍摄 PDF 文件第一页的快照?我想在 VPS 服务器上自动执行此操作。我的发行版是 Debian。
How I can take snapshot of first page of PDF file in Linux? I wanna do this on VPS server automaticaly. My distribution is Debian.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(3)
如果您安装了 Ghostscript,ImageMagick 可以转换 PDF 页面。
ImageMagick can convert PDF pages if you have Ghostscript installed.
您可以使用 PDFTK 来完成此操作。它可以在 Ubuntu 存储库中找到,因此请先检查那里。
您想要抓取第一页的语法是:
You can do this with PDFTK. It's available in the Ubuntu repos, so check there first.
The syntax you'll want to grab the first page is:
新闻与新闻按住SHIFT + Print_screen键并用鼠标选择要截屏的pdf页面的矩形...
Press & Hold SHIFT + Print_screen KEYS and with mouse select the rectangle of pdf page you want to take screenshot ...