Create JPEG/GIF from HTML File with GD-Library
Posted: Thu May 12, 2005 12:12 pm
Hi out there!
I've the following problem:
At the moment I'm creating PDFs with PHP and the HTMLDOC Library. But there where too many client-side problems with the Acrobat Files (wrong version, bad browser plugin and so on.)
So I decided to replace the PDFs with GIFs or JPEGs. The problem is, that i don't know if it's possible to do this with GD Library.
Does anyone know how this could work with GD Library? Or does anyone know a similar library like HTMLDOC oder HTML2PDF for Images (JPEG/GIF)?
The only thing I've found was imagecreatefromgd2() in the GD Library. But it seems not to work.
Thanks for every input and sorry for my bad english,
Mike
I've the following problem:
At the moment I'm creating PDFs with PHP and the HTMLDOC Library. But there where too many client-side problems with the Acrobat Files (wrong version, bad browser plugin and so on.)
So I decided to replace the PDFs with GIFs or JPEGs. The problem is, that i don't know if it's possible to do this with GD Library.
Does anyone know how this could work with GD Library? Or does anyone know a similar library like HTMLDOC oder HTML2PDF for Images (JPEG/GIF)?
The only thing I've found was imagecreatefromgd2() in the GD Library. But it seems not to work.
Thanks for every input and sorry for my bad english,
Mike