Gordon
Gordon

Reputation: 1651

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 an easy way to do this?

thanks Gordon

Upvotes: 1

Views: 1360

Answers (1)

jira
jira

Reputation: 3944

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;

Upvotes: 1

Related Questions