png2terminal | R Documentation |
Dump a PNG image to the terminal
png2terminal(filename, method = c("auto", "tgp", "sixel"))
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. |
Called for it's side effect of writing the image to the terminal (standard
out). Returns NULL
invisibly.
See png2tgp
for output in Terminal Graphics Protocol. See
png2sixel
for output in Sixel format.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.