ukiyoe

Crates.ioukiyoe
lib.rsukiyoe
version0.0.4
sourcesrc
created_at2020-04-21 23:58:52.306227
updated_at2022-07-30 20:57:56.42926
descriptionA library for rendering images to the terminal
homepage
repositoryhttps://github.com/richardanaya/ukiyoe
max_upload_size
id232750
size5,568,077
richardanaya2_2048b.Q6_K.gguf (richardanaya)

documentation

README

ukiyoe

docs.rs docs

Render images to the terminal using truecolor and unicode.

Screen Shot 2022-07-29 at 5 32 44 AM

This package was meant to be used by it's sister package kimono.

cargo add ukiyoe

Examples

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);
}

Art

ukiyoe_portland

License

This project is licensed under either of

at your option.

Contribution

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.

Commit count: 23

cargo fmt