cursive-image 0.0.1

Image view for the Cursive TUI library
[![crates.io](https://img.shields.io/crates/v/cursive-image?color=%23227700)](https://crates.io/crates/cursive-image)
[![docs.rs](https://img.shields.io/badge/docs.rs-latest?color=grey)](https://docs.rs/cursive-image)

Cursive Image
=============

An image view for the [Cursive](https://github.com/gyscos/cursive) TUI library.

It will, of course, only work on terminals that support graphics. Relying on the [viuer](https://github.com/atanunq/viuer) library, it supports the [Kitty](https://sw.kovidgoyal.net/kitty/graphics-protocol.html), [iTerm](https://iterm2.com/documentation-images.html), and [Sixel](https://github.com/saitoha/libsixel) terminal graphic protocols. 

The view supports fit or scale sizing modes (fit is the default), image alignment, and scrolling.

Check out the [examples](https://codeberg.org/tliron/cursive-image/src/branch/main/examples).

License
-------

Like much of the Rust ecosystem, licensed under your choice of either of

* [Apache License, Version 2.0]https://codeberg.org/tliron/cursive-image/src/branch/main/LICENSE-APACHE
* [MIT license]https://codeberg.org/tliron/cursive-image/src/branch/main/LICENSE-MIT

Unless you explicitly state otherwise, any contribution intentionally submitted for inclusion in the work by you, as defined in the Apache-2.0 license, shall be dual licensed as above, without any additional terms or conditions.

All code and documentation was written by humans. We do not accept "AI"-generated contributions.