Create the QR code using qr_code()
and save it as an svg file.
generate_svg(
qrcode,
filename,
size = 300,
foreground = "black",
background = "white",
show = interactive(),
...
)
# S3 method for default
generate_svg(
qrcode,
filename,
size = 300,
foreground = "black",
background = "white",
show = interactive(),
...
)
# S3 method for qr_code
generate_svg(
qrcode,
filename,
size = 300,
foreground = "black",
background = "white",
show = interactive(),
...
)
# S3 method for qr_wifi
generate_svg(
qrcode,
filename,
size = 300,
foreground = "black",
background = "white",
show = interactive(),
...,
fontsize = 15
)
# S3 method for qr_logo
generate_svg(
qrcode,
filename,
size = 300,
foreground = "black",
background = "white",
show = interactive(),
...
)
a qr_code
object as generated by qr_code
.
Where to store the QR code as svg file. Silently overwrites existing files. Tries to create the path, when it doesn't exist.
width of the svg file in pixels.
Defaults to 300
.
Stroke and fill colour for the foreground.
Use a valid CSS colour.
Defaults to "black"
.
Fill colour for the background.
Use a valid CSS colour.
Defaults to "white"
.
Open the file after creating it.
Defaults to TRUE
on interactive()
sessions, otherwise FALSE
.
Currently ignored.
The size of the font in pixels.
invisible NULL
Other qr:
coordinates()
,
plot.qr_code()
,
print.qr_code()
,
qr_code()
,
qr_event()
,
qr_wifi()