Beefy Boxes and Bandwidth Generously Provided by pair Networks
Clear questions and runnable code
get the best and fastest answer
 
PerlMonks  

Re: Website screenshot

by emazep (Priest)
on Jan 06, 2007 at 01:53 UTC ( #593256=note: print w/replies, xml ) Need Help??


in reply to Website screenshot

Alien, taking a screenshot of a given HTML page, implies that the mentioned HTML page has been rendered, which is a quite complex task, handled with many difficulties even by modern web browsers.

Your best option is thus probably using a browser (on the server side by your Perl script) to fetch the given URL and to render the corresponding page, and then using some program to take the actual screenshot (such as scrot), as already suggested also by others.
It's likely that the PHP script you saw used some external HTML rendering engine/widget under the hood.

Ciao,
Emanuele.

Replies are listed 'Best First'.

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://593256]
help
Chatterbox?
[choroba]: thank you
Discipulus or was mine?!?
[beech]: thank you, it sure is pretty "code", yup, thats what I call it my ...

How do I use this? | Other CB clients
Other Users?
Others imbibing at the Monastery: (6)
As of 2017-02-28 07:58 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    Before electricity was invented, what was the Electric Eel called?






    Results (398 votes). Check out past polls.