Convert image to hex

as_hex(
  from,
  to,
  text_label = NULL,
  text_colour = "white",
  border_colour = "grey20",
  border_opacity = 60
)

Arguments

from

Path to original file

to

Path to destination file

text_label

Text annotation

text_colour

Colour of text annotation

border_colour

Colour of the border region

border_opacity

Opacity of the border region