Description Usage Arguments Value Examples
View source: R/generate-screenshot.R
Generate a webpage screenshot
1 2 3 4 5 6 7 8 9 |
url |
the URL to screenshot |
quality |
image quality. Defaults to 100 (i.e. 100%) |
full_page |
generate a full page scren shot (may be very "long"). Default |
mobile |
generate a screenshot of a mobile version of the website? Default |
width |
screen width (pixels). Defaults to |
type |
which image format to request. This function returns a |
... |
passed on to |
{magick}
object
1 | generate_screenshot("https://cran.r-project.org")
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.