0

Possible Duplicate:
Convert SVG image to PNG with PHP

I have a bunch of SVG text that's dynamic that I need to save as a PNG. I can't use canvg because it doesn't support paths (I have arced text). I'd like to avoid having to install anything server side, but if there's a native PHP function, then I can work with that. What're my options for getting what I need done?

Community
  • 1
  • 1
user1807782
  • 451
  • 1
  • 4
  • 17
  • 1
    Take a look at this: http://stackoverflow.com/questions/4809194/convert-svg-image-to-png-with-php and maybe this: http://code.google.com/p/phpsvg/ – Jan.J Dec 14 '12 at 18:45
  • 1
    `GD` can't, `ImageMagick` can. – Wrikken Dec 14 '12 at 18:51
  • It's always a good idea to use [ImageMagick](https://www.imagemagick.org/) on your server for such purposes. Some hosters even have pre-installed. – feeela Dec 14 '12 at 19:58
  • try apache's batick.it's java based, but I managed to call it through php's exec function to save a svg to png – gion_13 Dec 14 '12 at 21:28

0 Answers0