SVG to PDF command line (color ?)

Post questions on how to use or achieve an effect in Inkscape.
dimpas
Posts: 1
Joined: Thu Aug 24, 2017 7:51 pm

SVG to PDF command line (color ?)

Postby dimpas » Thu Aug 24, 2017 7:55 pm

Hello,

I use a command line for convert my file .svg to a file .pdf.

I have a problem with the color. They don't tranfert into the file .pdf.

Do you have an idea ?

Thank you

D.

theozh
Posts: 437
Joined: Fri Mar 23, 2012 6:30 pm

Re: SVG to PDF command line (color ?)

Postby theozh » Thu Aug 24, 2017 9:13 pm

Hi @dimpas,

what do you mean with "color does not transfer to .pdf"?
Do you have colors in the SVG and you get a grey-scale or black/white PDF?

Which Version of Inkscape are you using? Which operating system?
What is the command line you are using?
Was your SVG created with Inkscape?

If I type, e.g.:

Code: Select all

inkscape.exe -z -f Test.svg -A Test.pdf

I get a colored PDF with Inkscape 0.92.1 and Win10.
Win7/64, Inkscape 0.92.2

User avatar
brynn
Posts: 10309
Joined: Wed Sep 26, 2007 4:34 pm
Location: western USA
Contact:

Re: SVG to PDF command line (color ?)

Postby brynn » Sat Aug 26, 2017 10:40 pm

Working on the same problem here: https://forum.inkscapecommunity.com/ind ... opic=727.0

As I did there, I would also ask here for an example SVG file. The problem could be with the conversion, rather than the commandline command. But we would need an example file to sort it out.


Return to “Help with using Inkscape”