View Single Post
  #23  
Old 02-08-2011, 11:10 PM
Solomoriah's Avatar
Solomoriah Solomoriah is offline
Incorrigible Kit Basher
 
Join Date: Jul 2006
Posts: 1,822
Default

ImageMagick's convert command can do it:
http://www.imagemagick.org/

as can the rsvg command found in the librsvg package:
http://ftp.gnome.org/pub/gnome/bina...2/librsvg/2.22/

In both cases, you'd probably have to save the SVG output to a temp file, run the command to create a temp PNG, then forward the latter to the user. I'd guess that rsvg would be faster but there's no telling until you try.

EDIT: Just saw Carl's last post. AI is Adobe Illustrator, right? ImageMagick can convert it also, but apparently only with Ghostscript also installed. That'd be a bit much. VML is apparently a real b*tch to convert. If you can go to SVG, though, there are some options (including the above, of course).
__________________
SAM #0076 Licensed to Build
My site: http://rocketry.gonnerman.org
Reply With Quote