FUDforum
Fast Uncompromising Discussions. FUDforum will get your users talking.

Home » Imported messages » comp.lang.php » web page to image
Show: Today's Messages :: Polls :: Message Navigator
Return to the default flat view Create a new topic Submit Reply
Re: web page to image [message #175563 is a reply to message #175561] Sun, 09 October 2011 02:15 Go to previous messageGo to previous message
Jerry Stuckle is currently offline  Jerry Stuckle
Messages: 2598
Registered: September 2010
Karma:
Senior Member
On 10/8/2011 8:39 PM, bob wrote:
> I want to turn a web page into a 768x1024 image using PHP. For
> instance the script might load http://www.example.com/ and output a
> 768x1024 image. Anyone know how to do this?
>

First you need something to render the page, similar to a browser. PHP
can't do that (at least not without a few man-decades of work). Then
you need to capture that page, which again, PHP can't do.

Once you've gotten this far, you could use the gd functions to create an
image.

The real question here is - what problem are you trying to solve?

--
==================
Remove the "x" from my email address
Jerry Stuckle
JDS Computer Training Corp.
jstucklex(at)attglobal(dot)net
==================
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Editing a combobox
Next Topic: Re: Mass Twitter Account Creator (PHP)
Goto Forum:
  

-=] Back to Top [=-
[ Syndicate this forum (XML) ] [ RSS ]

Current Time: Wed Nov 27 10:13:05 GMT 2024

Total time taken to generate the page: 0.04341 seconds