raster2terminal: Dump an image raster to the terminal using the Terminal...

View source: R/raster2terminal.R

raster2terminalR Documentation

Dump an image raster to the terminal using the Terminal Graphics Protocol

Description

Dump an image raster to the terminal using the Terminal Graphics Protocol

Usage

raster2terminal(raster, compress = TRUE)

Arguments

raster

the image 'raster' e.g. the output of as.raster.

compress

compress the data before sending to the terminal.

Details

The Terminal Graphics Protocol is not supported by many Terminal Emulators. The most notable terminal emulator supporting the protocol is Kitty.

Value

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


djvanderlaan/kitty.r documentation built on Feb. 2, 2025, 9:12 p.m.