svg_to_pdf | R Documentation |
Convert SVG to PDF
svg_to_pdf(
svg = svg,
inkscape_path = "C:/Program Files/Inkscape/bin/inkscape.exe",
out = NULL,
dpi = 300,
width = 2281,
height = 2166
)
svg |
character. File path to the svg file. |
inkscape_path |
The local path to the 'inkscape.exe' file. |
out |
character. File path to the output pdf file. |
dpi |
numeric. DPI of the output pdf file. |
width |
numeric. Width of the output pdf file. |
height |
numeric. Height of the output pdf file. |
A message indicating the file path of the output pdf file.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.