开发者

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;
0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜