views:

75

answers:

2

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.

+2  A: 

ImageMagick can convert PDF pages if you have Ghostscript installed.

Ignacio Vazquez-Abrams
+1  A: 

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
Jeffrey Knight