pdf2baresvg1
Pdf to bare svg convertor
Usage
pdf2baresvg pdffile
svgfile
[page
number]
Overview
pdf2baresvg launches the command pdf2svg and simplifies its output.
pdf2svg is a tiny command-line utility using Cairo and Poppler to convert PDF documents into SVG files. Its ouput is a standalone SVG file which comes with an XML header.
In some cases, the XML header is not useful; for instance when one wants to embed the SVG output as an element in some HTML page.
Options
- [some page label]
-
The third parameter is optional and serves as a page selector. If omitted it defaults to the first page of the passed PDF. If passed it must be a valid page label (typically it is a value such as “iii” or “3”).
all-
This special selector causes the program to iterate over all pages in the PDF. Because it cannot save multiple pages into one single SVG the second parameter is expected to contain a sensible file specification:
pdf2baresvgdocument.pdf output-page%d.svg all This selector is not encouraged for use withpdf2baresvgsince the XML header will not be removed from output files.
-
-h or --help -
Show this message and exit.