Skip to contents

Convert SVG to PDF

Usage

svg_to_pdf(
  svg = svg,
  inkscape_path = "C:/Program Files/Inkscape/bin/inkscape.exe",
  out = NULL,
  dpi = 300,
  width = 2281,
  height = 2166
)

Arguments

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.

Value

A message indicating the file path of the output pdf file.