Dump an image raster to the terminal
raster2terminal(raster, method = c("auto", "tgp", "sixel"), ...)
Called for it's side effect of writing the image to the terminal (standard
out). Returns NULL
invisibly.
the image 'raster' e.g. the output of as.raster
.
method with which the graphical output is written to the terminal. In case of 'auto', it is first checked if the Terminal Graphics Protocol is supported and if so, this is used. Otherwise, Sixel is used.
passed on to the underlying method such as
raster2tgp
and raster2sixel
.
See raster2tgp
for output in Terminal Graphics Protocol. See
raster2sixel
for output in Sixel format.