Description Usage Arguments Details Value Examples
Convert png to svg
1 |
png_path |
path to the png file,character. |
svg_path |
out path of the svg file, character. |
width |
numeric, e.g: 200 |
height |
numeric, e.g: 200 |
The quality of svg file depends on the png file.
a svg file
1 2 3 4 5 | png_path <- system.file("img", "Rlogo.png", package="png")
svg_path <- tempfile(fileext = ".svg")
png2svg(png_path, svg_path)
file.show(svg_path)
png2svg(png_path, svg_path, 200, 200)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.