I've had great success in a very similar scenario with PhantomJS, which is a headless, scriptable, build of webkit. Basically zero dependencies, and they provide ready-to-run binaries for Windows, OS X, and Linux: https://github.com/ariya/phantomjs/blob/master/examples/rasterize.js

On 27 October 2014 23:32, Partha Bagchi <partha1b@...400...> wrote:
What about https://cloudconvert.org/svg-to-pdf ?

They provide an API for you. A cursory glance at the code shows it to
be fairly complete?

Disclaimer: I have never used this service.

Hope this helps.

Partha


On Mon, Oct 27, 2014 at 6:24 AM,  <whats_up@...240...> wrote:
>
> Hi,
>
> I use inkscape in a image processing script in batch mode where I want
> to export svg graphics to PDF. Now I want to move this within a
> web application. Inkscape has a lot of dependences to other packages and
> libraries and thus is less suitable to install on a web server.
>
> Is there are lightweight alternative to convert svg or ai to pdf?
>
> Does inkscape use other libs or tools to export to pdf? maybe cairo?
>
> Any ideas are appreciated. thanks!
>
> best regards,
> knut
>
> ------------------------------------------------------------------------------
> _______________________________________________
> Inkscape-devel mailing list
> Inkscape-devel@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/inkscape-devel

------------------------------------------------------------------------------
_______________________________________________
Inkscape-devel mailing list
Inkscape-devel@...1794...s.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/inkscape-devel



--
Bryan Hoyt, Software Developer  --  Brush Technology
Ph: +64 3 741 1204     Mobile: +64 21 238 7955
Web: brush.co.nz