in reply to Re^2: Platform independent SVG transcoding
in thread Platform independent SVG transcoding

I'm not aware of any SVG to PNG solution that does not require software, or at least a module, to be installed on the server. ImageMagick is a module that would need to be installed on the server.

As an alternative to SVG, maybe you want to use GD and GD::SVG or SVG::GD, which will allow you to produce graphs in both SVG and PNG (or GIF) formats.

If you're lucky, your webhoster has a C compiler installed on the hosting machine so you can compile and install ImageMagick or any of the other solutions yourself. Other than that, you'll have to either find another solution than producing SVG images in the first place, or find a webhoster that is willing to accomodate its paying customers better.

  • Comment on Re^3: Platform independent SVG transcoding

Replies are listed 'Best First'.
Re^4: Platform independent SVG transcoding
by jbenezech (Acolyte) on Aug 10, 2009 at 09:27 UTC

    Thanks all for the advices. Guess I'll try to convince the host to install ImageMagick (Software + perl module), really don't want to give up on svg client...
Re^4: Platform independent SVG transcoding
by jbenezech (Acolyte) on Aug 11, 2009 at 10:39 UTC
    Ok, thought I'll give ImageMagick a try and then worry about convincing my webhost to install it.
    And there, I run into a problem with parsing of svg: when reading an svg which has a viewbox set to a portion of the entire image, ImageMagick renders only the top left corner of the whole image.

    Is there any known issue with ImageMagick not being able to analyze the svg viewBox correctly ? Note that I get same result with command line convert and Image Display just displays a blank image.
    I know it's more a question for image magick forum but it doesn't seem to be as reactve as this one...

      but it doesn't seem to be as reactve as this one...

      Patience is .. :) Who do you think will know more about your shoes, you or me?