5 releases

0.0.4 Jul 30, 2022
0.0.3 Jul 29, 2022
0.0.2 Jul 28, 2022
0.0.1 Jul 28, 2022
0.0.0 Apr 21, 2020

#1 in #true-color


Used in kimono

MIT/Apache

5.5MB
148 lines

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.

Dependencies

~13–22MB
~112K SLoC