Jump to content


pdf thumbnail via php

  • Please log in to reply
2 replies to this topic

#1 witt

  • Members
  • PipPipPip
  • Advanced Member
  • 36 posts

Posted 06 June 2006 - 02:03 AM

Is it possible to generate a pic of the first page of a pdf file using gd or imagemagick?

#2 poirot

  • Members
  • PipPipPip
  • Advanced Member
  • 646 posts
  • LocationAustin, TX

Posted 06 June 2006 - 03:42 AM

Probably no. But maybe you can use a program that creates a thumbnail (execute it via PHP with the parameters).

But I don't know if there are programs of this kind available.

Or, try to find a ready-made PDF reader/parser script and use it to generate the thumbnail.

Anyway, it'd not be simple.
~ D Kuang

#3 litebearer

  • Members
  • PipPipPip
  • Advanced Member
  • 2,357 posts
  • Locationwhite lake michigan

Posted 06 June 2006 - 03:55 AM

Might look into Imagemagick

[a href=\"http://www.imagemagick.org/script/index.php\" target=\"_blank\"]http://www.imagemagick.org/script/index.php[/a]


all the brothers were valiant!

[br][br]The truely intelligent people are not those who create the dots; rather they are they ones with the ability to connect the dots into a coherent picture

0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users