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 #175564 is a reply to message #175561] Sun, 09 October 2011 05:18 Go to previous messageGo to previous message
Michael Vilain is currently offline  Michael Vilain
Messages: 88
Registered: September 2010
Karma:
Member
In article
<74de1a18-820b-4985-899d-737b2fb8b655(at)u6g2000vbo(dot)googlegroups(dot)com>,
bob <bob(at)coolgroups(dot)com> 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?

You'd have to 'build an image' of the site using the internal equivalent
of a web browser. And they all render HTML slightly differently. Not
an easy task to do in PHP.

Or you could just tell Safari to PRINT TO PDF and save the web site as a
PDF file. That's what I do. Better than an image because I can click
on the links and be taken to the sites referenced.

--
DeeDee, don't press that button! DeeDee! NO! Dee...
[I filter all Goggle Groups posts, so any reply may be automatically ignored]
[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: Sun Sep 08 02:01:41 GMT 2024

Total time taken to generate the page: 0.04138 seconds