Inkscape Community

Help Using Inkscape => Beyond the Basics => Topic started by: dimpas on August 24, 2017, 12:03:18 AM

Title: SVG to PDF command line
Post by: dimpas on August 24, 2017, 12:03:18 AM
Hello

I use Inkscape (v. 0.92.2.0) in command line to convert a svg file to pdf file.

Code: [Select]
.\inkscape.exe ".\temp\file.svg"" --export-pdf="".\temp\file.pdf"" --export-area-snap

I have a problem with colors (not present in the pdf file).

Do you have an idea?

 :th:
Dim.
Title: Re: SVG to PDF command line
Post by: brynn on August 25, 2017, 11:39:48 PM
Welcome to the forum!

I'm not familiar with using the command line.  So I can't comment about the specific code that you use.  (Here's a reference in case you would find it helpful:  https://inkscape.org/en/doc/inkscape-man.html)

However, it's possible that the problem has more to do with the conversion to PDF, than the code.

Can you share the SVG file with us, for testing?  And also please point out the objects which are not converted properly.