Skip to content

image

Description

Displays an image in the window using the Spectre.Console.Imagesharp API.

Usage

First argument is the file location and the second is the max width.

Examples

new image("example.png", "12")
# Displays an image called example with the max width of 12 pixels.
Back to top