add_logo | R Documentation |
First generate a qr_code
with a higher ecl
level.
Then add the logo.
The maximum area of logo depends on the difference in ecl
level between the
version with and without logo.
The size of the logo is further restricted by its image ratio.
We shrink very wide or tall logos to make sure it still fits on the logo.
add_logo(
code,
logo,
ecl = c("L", "M", "Q", "H"),
hjust = c("c", "l", "r"),
vjust = c("c", "b", "t")
)
code |
A |
logo |
the path to a logo image file.
Must be either |
ecl |
the required error correction level for the QR code
after overlaying the logo.
Must be lower than the |
hjust |
Horizontal position of the logo.
The default of |
vjust |
Vertical position of the logo.
The default of |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.