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

ImageMagick's convert command can do it:

as can the rsvg command found in the librsvg package:

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:
Reply With Quote