in reply to pdf thumbnail?

You can use Image::Magick to open the PDF and output a small GIF of each page.

Replies are listed 'Best First'.
Re^2: pdf thumbnail?
by leocharre (Priest) on May 01, 2007 at 16:51 UTC
    Holy cow!
    convert ./myfile.pdf ./myfile.gif
    Makes one thumb of the first page.
    convert ./myfile.pdf ./myfile.jpg
    Makes a thumbnail of each page. They suck though. Hmm.
      I'm not sure how to select a specific page from a pdf, but this is what I use to convert single-page pdfs to jpgs:
      convert -colorspace rgb input.pdf -antialias -quality 60 output.jpg
      You really MUST use -antialias, and if you're converting CYMK pdfs to jpgs for the web, you really should also use the -colorspace rgb option, since many browsers suck at CYMK jpgs.

      Actually your first example makes an animated gif out of the pdf. Look at ImageMagick's documentation for thumbnail and explore some of the other options to deal with odd page sizes.