Image (from Box)

Display an image in the terminal (jpeg, png, gif) using either blessed's internal png/gif-to-terminal renderer (using a ANSIImage element) or using w3mimgdisplay (using a OverlayImage element).

Options

  • Inherits all from Box.
  • file - Path to image.
  • type - ansi or overlay. Whether to render the file as ANSI art or using w3m to overlay. See the ANSIImage element for more information/options. (default: ansi).

Properties

Events

Methods


Last update: February 22, 2020