locateTextbox: Determine locations for textbox

View source: R/locateTextbox.R

locateTextboxR Documentation

Determine locations for textbox

Description

Extract locations for textbox from pdf screenshot with reference markers

Usage

locateTextbox(
  img = "C:/Users/berry/Desktop/pdfscreenshot.PNG",
  frame = TRUE,
  ...
)

Arguments

img

Image file name, is read with png::readPNG(img) DEFAULT: "C:/Users/berry/Desktop/pdfscreenshot.PNG"

frame

Show complete frame template? DEFAULT: TRUE

...

Further arguments passed to plot

Value

Invisible list with coordinates, the printed message contains ready-to-use code

Author(s)

Berry Boessenkool, berry-b@gmx.de, Jul 2021


brry/knitPres documentation built on Oct. 22, 2022, 2:51 a.m.