I want to to convert a HTML table to a PNG or GIF image. I'm using Perl under Linux operating system.
I use the TinyMCE editor. The user can edit a HTML table (using CSS classes and other CSS formatters), and I want to save this table as an image.
What is the simplest way to do this?
Can you use ImageMagick/PerlMagick and Webkit?
https://metacpan.org/module/PDF::WebKit
http://code.google.com/p/wkhtmltopdf/
https://metacpan.org/module/Image::Magick
http://www.imagemagick.org/script/perl-magick.php
You can accomplish this with a few command line tools.
On my Ubuntu system I installed these with:
The conversion isn't likely to be identical to what you see in your web browser.