image2xlsx: Convert an image to an excel spreadsheet

Description Usage Arguments Value

Description

Convert an image to an excel spreadsheet

Usage

1
2
image2xlsx(image_filename, xlsx_filename = NULL, height = 40,
  width = NULL, xoffset = 0, yoffset = 0, overwrite = FALSE)

Arguments

image_filename

filename of an image supported by magick

xlsx_filename

filename of the output excel spreadsheet.

height

Height of output i.e. number of vertical cells the image should occupy. Default: 40

width

Width of output. Default: NULL - scale to height and keep aspect ratio

xoffset, yoffset

Starting cooridinates for top-left of image. Default (0, 0)

overwrite

Overwrite the excel spreadsheet if it already exists? Default: FALSE

Value

invisibly returns the excel workbook created by openxlsx


coolbutuseless/image2xlsx documentation built on May 23, 2019, 1:59 a.m.