如何在Linux中对PDF文件进行快照?

发布于 2024-09-02 15:20:40 字数 68 浏览 8 评论 0原文

如何在 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 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(3

夏日落 2024-09-09 15:20:40

如果您安装了 Ghostscript,ImageMagick 可以转换 PDF 页面。

ImageMagick can convert PDF pages if you have Ghostscript installed.

甜中书 2024-09-09 15:20:40

您可以使用 PDFTK 来完成此操作。它可以在 Ubuntu 存储库中找到,因此请先检查那里。
您想要抓取第一页的语法是:

$  pdftk input.pdf cat 1 output out.pdf

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:

$  pdftk input.pdf cat 1 output out.pdf
神也荒唐 2024-09-09 15:20:40

新闻与新闻按住SHIFT + Print_screen键并用鼠标选择要截屏的pdf页面的矩形...

Press & Hold SHIFT + Print_screen KEYS and with mouse select the rectangle of pdf page you want to take screenshot ...

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文