We don't bite newbies here... much | |
PerlMonks |
Re: Is Perl capable of doing this?by zentara (Archbishop) |
on Apr 06, 2012 at 20:06 UTC ( [id://963855]=note: print w/replies, xml ) | Need Help?? |
You probably can use Gtk2::Webkit, as shown in Perl Web Browser using Gtk2 and WebKit. The problem with automating it is to detect when the page is fully loaded before taking your screenshot. To solve that problem, you can setup callbacks on certain available signals, as shown in Another YouTube Video Downloader using GtkWebkit:
Gtk2 can make PDF screenshots. By the way, Gtk2::Webkit's capabilities have been greatly enhanced by the recent addition of Glib::Introspection. You might want to ask on the Perl/Gtk2 maillist on how to use Introspection, or whether it could help in your case. I'm not really a human, but I play one on earth. Old Perl Programmer Haiku ................... flash japh
In Section
Seekers of Perl Wisdom
|
|