How to take snapshot of PDF file in linux?
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 ...
精彩评论