Author Topic: SVG to PDF command line  (Read 4140 times)

August 24, 2017, 12:03:18 AM
Read 4140 times

dimpas

  • Newbie

  • Offline
  • *

  • 1
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.

August 25, 2017, 11:39:48 PM
Reply #1

brynn

  • Administrator

  • Offline
  • ******

  • 3,941
  • Gender
    Female

    Female
    • Inkscape Community
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.
  • Inkscape version 0.92.3
  • Windows 7 Pro, 64-bit
Inkscape Tutorials (and manuals)                      Inkscape Community Gallery                        Inkscape for Cutting Design                     



"Be ashamed to die until you have won some victory for humanity" - Horace Mann