Beefy Boxes and Bandwidth Generously Provided by pair Networks
P is for Practical

Re: Image Conversion: SVG to PNG

by vrk (Chaplain)
on Apr 24, 2017 at 08:26 UTC ( #1188741=note: print w/replies, xml ) Need Help??

in reply to Image Conversion: SVG to PNG

Thanks for asking this question! At $work many years ago, I faced this same issue and ended up writing my own, half-finished graphics abstraction layer. The layer allows plotting certain types of planar graphs with a GD backend and a separate SVG backend -- the latter is another bespoke module, because there wasn't anything suitable in CPAN back then... Our code sadly isn't suitable for CPAN, because it solves a very narrow problem and we don't have the resources to polish and maintain it as an external product.

It's a bit sad that things haven't moved on and rasterising SVGs in Perl is still on such a shaky ground. We ruled out Image::LibRSVG back in 2008 due to code quality concerns and compilation problems on Windows. I didn't know about GD::SVG, though.

Log In?

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://1188741]
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others exploiting the Monastery: (6)
As of 2023-02-05 20:32 GMT
Find Nodes?
    Voting Booth?
    I prefer not to run the latest version of Perl because:

    Results (32 votes). Check out past polls.