Skip to content

Image

Source code

Description

Image in a spreadsheet. You must have the Pillow Python library installed, which can be installed using ‘install_pillow()’.

https://openpyxl.readthedocs.io/en/stable/api/openpyxl.drawing.image.html

Usage

Image(img, ...)

Arguments

img img
Additional arguments, i.e. kwargs.

Value

An openpyxl Python object.

Examples

library("xlcharts")

install_pillow()
image_path <- system.file('extdata/logo.png',package='xlcharts')
Image(img = image_path)