Using rsvg-convert, can I convert a multi-page or multi-page SVG to a multi-page PDF file?

Is there a way to use "rsvg-convert" to convert multiple SVG pages or multiple SVG files into a single multi-page PDF file?

I use the command:

/usr/bin/rsvg-convert -f pdf -o out.pdf in.svg 
+4
source share
1 answer

you can provide a list of .svg files when converting to pdf.

 rsvg-convert -f pdf -o out.pdf file1.svg file2.svg file3.svg 

alternatively you can convert all .svg files to a 1 pdf folder as follows:

 rsvg-convert -f pdf -o out.pdf *.svg 
+4
source

Source: https://habr.com/ru/post/1494142/


All Articles