cosimo has asked for the wisdom of the Perl Monks concerning the following question:
Hello monks,
I'm willing to write (and release to CPAN) a new class that can take as input an SVG text stream and output a PNG image. Something like:
use GD::Something; # maybe GD::SVG::Render? my $image = GD::Something->new(400, 300); $image->render('/my/file.svg'); print $image->png();
Today I fired a i /SVG/ query on my CPAN shell, but everything I found was related to GD -> SVG conversion.
I'd clearly prefer direct browser rendering of SVG, but as of Feb 2006, only Firefox 1.5 supports it without plugins, and the majority of our users is still using MS Internet Exploder.
So, before inventing my own wheel, is there some Perl class that is able to convert (even with some limits) an SVG text file to a PNG?
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Rendering of SVG content with GD into PNG file
by Anonymous Monk on Feb 08, 2006 at 14:18 UTC | |
|
Re: Rendering of SVG content with GD into PNG file
by zentara (Cardinal) on Feb 08, 2006 at 16:41 UTC | |
by cosimo (Hermit) on Feb 08, 2006 at 17:32 UTC |