An image display widget for tui-rs

This widget displays an image using ASCII art.

Beware: This is work in progress and the API is very likely to change.

There are currently two modes:

You can either provide an image using Image::with_img which will be resized to fit in the container, or you can provide a function with Image::with_img_fn which receives the container size and returns an image of the correct dimensions.

At the moment it only accepts RGBA images and will halve the vertical resolution since terminal characters are roughly twice as high as wide.

Options

Repography logo / Recent activity Time period

Pull request status graph Top contributors