02-08-2011, 11:10 PM
|
|
Incorrigible Kit Basher
|
|
Join Date: Jul 2006
Posts: 1,888
|
|
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).
|