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
oroverlay
. Whether to render the file as ANSI art or usingw3m
to overlay. See the ANSIImage element for more information/options. (default:ansi
).
Properties:
- Inherits all from Box.
- See ANSIImage element
- See OverlayImage element
Events:
- Inherits all from Box.
- See ANSIImage element
- See OverlayImage element
Methods:
- Inherits all from Box.
- See ANSIImage element
- See OverlayImage element