Friday, March 17, 2017

Converting SVG to PDF on Linux Command Line

A number of tools available for converting a SVG to a PDF file on Linux command line, for instances,
  • rsvg-convert
           $ sudo apt-get install librsvg2-bin
           $ rsvg-convert -f pdf -o mygraph.pdf mygraph.svg
  • ImageMagick
           $ sudo apt-get install imagemagick
           $ convert mygraph.svg mygraph.pdf
  • Inkscape
           $ sudo apt-get install inkscape
           $ inkscape mygraph.svg --export-pdf=mygraph.pdf

A few others include GhostPDL and CairoSVG. Each of these tools has its own limitations, particularly, supported SVG features. My limited use points to that Inkspace appears to have the most supported features.


  1. This online pdf merger or pdf combiner or pdf joiner will easily merge pdf files together with use of any software or any registration. pdf joiner

  2. Your post was very helpful. Checkout this awesome website for file conversion.

  3. réplicas de relojes rolex, que combina un estilo elegante y tecnología de vanguardia, una variedad de estilos de réplicas de relojes rolex datejust, el puntero camina entre su estilo de sabor exclusivo.

  4. Thanks for your great post, it's very useful, however, I recommend the following VeryUtils SVG to PDF Converter Command Line software, I hope it's useful for peoples,

  5. Lol rsvg just leave me a totaly blank svg file and, of course, no pdf.. Thanks for my work !

  6. Think about that you're a lawyer who obtained a contract out of your co-worker in PDF format and discover there are a number of essential gadgets have to be modified. If you want to learn more about this topic please visit Website

  7. The given command works great, for further file conversions, you can give a try to this free online converter that allows you to perform conversions from one file format to another.