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 some custom graphics
protocols are supported. They result in full resolution images
being displayed in specific environments:
For a demo of the library's usage and example screenshots, see viu
.
Examples
# in Cargo.toml, under [dependencies]
= "0.3"
// 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.