I've been given an interesting challenge.
We have a web site which includes a number of PDF documents that are made available for download. These documents are added to the site using a PHP page that uploads them and creates a database entry for them.
So far, so normal. But this is where the interesting bit starts....
The client wants the upload program to create a thumbnail image of the first page of the PDF, which would then be used on the site when showing the available documents.
I know how to create a PDF document from within PHP, but reading it in and thumbnailing the first page is an entirely different proposition.
I've looked around all the usual places, but I can't find any reference to it, let alone how to do it.
So does anyone know how to do this? ... or whether it's even possible?
Please let me know.
Thanks for any help.