Learn R Programming

terminalgraphics (version 0.1.1)

png2terminal: Dump a PNG image to the terminal

Description

Dump a PNG image to the terminal

Usage

png2terminal(filename, method = c("auto", "tgp", "sixel"))

Value

Called for it's side effect of writing the image to the terminal (standard out). Returns NULL invisibly.

Arguments

filename

filename of the PNG image

method

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.

See Also

See png2tgp for output in Terminal Graphics Protocol. See png2sixel for output in Sixel format.