Chris Payne wrote:

> Hi Everyone,
> I have been asked to create thumbnails from the first page of a PDF
> document on the fly with PHP, I have looked online but am confused as
> there doesn't seem 1 simple solution.
> What would you all recommend as an easy way to do this?
> Any help would be really appreciated.

I think I would just call an external program to do it, like "convert" 
from Image Magick:

exec("convert -thumbnail 300x300 document001.pdf[0] thumbnail001.png");

PHP General Mailing List (
To unsubscribe, visit:

Reply via email to