viuer
Display images in the terminal with ease.
viuer
is a Rust library that makes it easy to show images in the terminal. It has a straightforward
interface and is configured through a single struct. The default printing method is through
lower half blocks (▄ or \u2585). However, Kitty graphics protocol
is used if support for it is detected, resulting in full resolution images in the terminal.
For a demo of the library's usage and example screenshots, see viu
.
Examples
# in Cargo.toml, under [dependencies]
= "0.1"
// in src/main.rs
use ;
Or if you have a DynamicImage, you can use it directly:
// ..Config setup
let img = ImageRgba8;
print.expect;
Docs
Check the full documentation for examples and all the configuration options.