Page 1 of 1

Library to convert wmf, eps and ai to svg

Posted: Tue Aug 12, 2014 9:48 am
by Chris
Does anyone know of any PHP libraries that can convert Windows Metafile (.wmf), Encapsulated PostScript (.eps) and Adobe Illustrator (.ai) to Scalable Vector Graphics (.svg)

In theory they are all vector formats so it is possible.

Re: Library to convert wmf, eps and ai to svg

Posted: Tue Aug 12, 2014 1:53 pm
by Chris
I stumbled accross this tool: http://sk1project.org/modules.php?name= ... iconvertor

Code: Select all

shell_exec('uniconvertĀ from.aiĀ to.svg');
Seems to be written in Python.

Re: Library to convert wmf, eps and ai to svg

Posted: Tue Aug 12, 2014 5:26 pm
by Jackolantern
Will that work, since it is Python?

Re: Library to convert wmf, eps and ai to svg

Posted: Tue Aug 12, 2014 7:08 pm
by Chris
Definitely does. Just need to configure it properly, will have to be on a VPS setup as you need to install the module and for obvious security reasons shared hosting wouldn't support that.

Re: Library to convert wmf, eps and ai to svg

Posted: Tue Aug 12, 2014 11:00 pm
by Jackolantern
OK, I gotcha! 8-)