Page 1 of 1

PHP + images

Posted: Sun Jan 21, 2007 3:02 pm
by thiscatis
Is there an easy way to ouput html as an image instead of html code?

Posted: Sun Jan 21, 2007 3:16 pm
by feyd
Sure.

Posted: Sun Jan 21, 2007 3:28 pm
by Mohamed
anything is possible

Posted: Mon Jan 22, 2007 9:55 am
by thiscatis
And could you point me in the right direction please?
Will have to do something with GD2? But don't have a clue how to start on this one.

Posted: Mon Jan 22, 2007 10:01 am
by feyd
While it's technically possible to do it with pure PHP, I would not recommend it. Why? Because you'll have to build a browser, with all the standards compliance and support of a real browser.

There are various services and tools that already capture pages into images. It likely be easier and less time consuming to use one of these instead.

Posted: Mon Jan 22, 2007 4:28 pm
by psurrena