开发者

How to take snapshot of PDF file in linux?

开发者 https://www.devze.com 2022-12-30 23:58 出处:网络
How I can take snapsh开发者_C百科ot of first page of PDF file in Linux? I wanna do this on VPS server automaticaly. My distribution is Debian.ImageMagick can convert PDF pages if you have Ghostscript

How I can take snapsh开发者_C百科ot of first page of PDF file in Linux? I wanna do this on VPS server automaticaly. My distribution is Debian.


ImageMagick can convert PDF pages if you have Ghostscript installed.


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


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

0

精彩评论

暂无评论...
验证码 换一张
取 消