OiO.lk Community platform!

Oio.lk is an excellent forum for developers, providing a wide range of resources, discussions, and support for those in the developer community. Join oio.lk today to connect with like-minded professionals, share insights, and stay updated on the latest trends and technologies in the development field.
  You need to log in or register to access the solved answers to this problem.
  • You have reached the maximum number of guest views allowed
  • Please register below to remove this limitation

how to convert svg to pdf using inkscape commande line linux?

  • Thread starter Thread starter Amin reguig
  • Start date Start date
A

Amin reguig

Guest
I'm trying to convert a svg file to pdf by executing inkscape command line using python on linux like this :

Code:
result=subprocess.run(["inkscape",output_path+"/"+"final.svg","-export-area-drawing","--batch-process","--export-type=pdf","--export-filename="+output_path+"/"+"final.pdf"], capture_output=True, text=True)

but I have this :

(inkscape:108): WARNING **: 09:54:02.536: Invalid option --batch-process
<p>I'm trying to convert a svg file to pdf by executing inkscape command line using python on linux like this :</p>
<pre><code>result=subprocess.run(["inkscape",output_path+"/"+"final.svg","-export-area-drawing","--batch-process","--export-type=pdf","--export-filename="+output_path+"/"+"final.pdf"], capture_output=True, text=True)
</code></pre>
<p>but I have this :</p>
<p>(inkscape:108): WARNING **: 09:54:02.536: Invalid option --batch-process</p>
Continue reading...
 

Latest posts

A
Replies
0
Views
1
AgencyAnalytics
A
S
Replies
0
Views
1
Stacker Media
S
C
Replies
0
Views
1
CC.Talent
C
Top