Crates.io | ukiyoe |
lib.rs | ukiyoe |
version | 0.0.4 |
source | src |
created_at | 2020-04-21 23:58:52.306227 |
updated_at | 2022-07-30 20:57:56.42926 |
description | A library for rendering images to the terminal |
homepage | |
repository | https://github.com/richardanaya/ukiyoe |
max_upload_size | |
id | 232750 |
size | 5,568,077 |
Render images to the terminal using truecolor and unicode.
This package was meant to be used by it's sister package kimono.
cargo add ukiyoe
Render to terminal with width and height.
use ukiyoe::Image;
fn main() {
let mut image = Image::new("examples/test.png");
image.render(100, 40);
}
Render at a specific location.
use ukiyoe::Image;
fn main() {
let mut image = Image::new("examples/test.png");
image.render_at_position(0, 0, 100, 40);
}
This project is licensed under either of
at your option.
Unless you explicitly state otherwise, any contribution intentionally submitted
for inclusion in ukiyoe
by you, as defined in the Apache-2.0 license, shall be
dual licensed as above, without any additional terms or conditions.