summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPatrick Simianer <p@simianer.de>2016-12-04 14:30:49 +0100
committerPatrick Simianer <p@simianer.de>2016-12-04 14:30:49 +0100
commit64a24e72b8c5c5b726584c6e65c127e152834497 (patch)
tree9c9e0a8a78ffbc35aa897de2ea625126e7bd47b3
parent8158566a2d5e8ed26315d8508c558fefdc7b84ac (diff)
svg2pdf
-rwxr-xr-xsvg2pdf7
1 files changed, 7 insertions, 0 deletions
diff --git a/svg2pdf b/svg2pdf
new file mode 100755
index 0000000..9ac6ca1
--- /dev/null
+++ b/svg2pdf
@@ -0,0 +1,7 @@
+#!/usr/bin/python3
+
+import sys
+import cairosvg
+
+cairosvg.svg2pdf(url=sys.argv[1], write_to=sys.argv[2])
+