Skip to contents

Take screenshot of html image tile

Usage

snap_tile(
  output_path,
  screen_width = 800,
  screen_height = 700,
  dark_mode = FALSE
)

Arguments

output_path

Path to image file

screen_width

Width of the browser window

screen_height

Height of the browser window

dark_mode

Is the tile being saved dark or light mode?

Value

Path to the saved image