Perl: convert html table into picture image
i have some coding that creates a html table. I would like to create a image file of that table (ie jpeg, gif). is there a开发者_StackOverflown easy way to do this?
thanks Gordon
On which platform? For Win32 there is Win32::CaptureIE.
This is just a synopsis from that module documentation:
use Win32::CaptureIE;
StartIE;
Navigate('http://example.com/page.html');
my $img = CaptureElement('tab_user_options');
$img->Write("ie-elem.png");
QuitIE;
精彩评论