set_image: Set image content

View source: R/create_units.r

set_imageR Documentation

Set image content

Description

Set image content

Usage

set_image(name, value, base64 = FALSE, caption = NULL, ...)

Arguments

name

The name of the field. Must be unique within a unit.

value

The filename of the image. Can be given as a single filename, the name of a column in data (for create_units) that has filenames, or an expression.

base64

If TRUE, store the image as a base64 in the codingjob json file

caption

The image caption. Can be a single string, or a column in data (for create_units), or an expression.

...

Style settings, passed to style

Value

Only meant to be used inside of create_units or create_unit.


ccs-amsterdam/ccsAnnotator documentation built on March 19, 2024, 2:14 a.m.