Crates.io | i2a-rs |
lib.rs | i2a-rs |
version | 0.1.0 |
source | src |
created_at | 2024-03-21 01:55:53.491626 |
updated_at | 2024-03-21 01:55:53.491626 |
description | A tool converting images to ASCII graph |
homepage | |
repository | https://github.com/hsfzxjy/i2a-rs |
max_upload_size | |
id | 1181141 |
size | 6,787,820 |
Yet another Image to ASCII Art tool
i2a-rs
can render static as well as animated imagesi2a-rs
automatically resizes images when terminal size changedi2a-rs
calls ffmpeg to decode GIFs and caches rendered stuff for next time useCurrently you can install by cloning the repo and build the binary:
git clone https://github.com/hsfzxjy/i2a-rs/
cd i2a-rs
cargo build --release
# The release version has better performance while rendering GIFs
i2a-rs
requires ffmpeg
to decode GIFs, so make sure the command ffmpeg
is available before rendering a GIF image. You may follow this link to get it installed correctly.
Render a static image (JPEG, PNG, etc.)
cargo run --release images/google.png
Redner a GIF image and play infinitely
cargo run --release images/cube.gif
or just play for one cycle
cargo run --release images/cube.gif --once