Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/destinecarma/image-to-ascii
A command-line tool in Rust that converts images into ASCII art.
https://github.com/destinecarma/image-to-ascii
ascii image image-to-ascii rust
Last synced: 5 days ago
JSON representation
A command-line tool in Rust that converts images into ASCII art.
- Host: GitHub
- URL: https://github.com/destinecarma/image-to-ascii
- Owner: DestinEcarma
- Created: 2024-12-31T01:20:57.000Z (7 days ago)
- Default Branch: main
- Last Pushed: 2024-12-31T01:26:41.000Z (7 days ago)
- Last Synced: 2024-12-31T02:26:32.244Z (7 days ago)
- Topics: ascii, image, image-to-ascii, rust
- Language: Rust
- Homepage:
- Size: 12.7 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Image to Ascii
This is a simple rust program that converts an image to ascii art. It uses the [`image`](https://crates.io/crates/image) crate to read the image.
```
fff
fffffff
fffffffffff
fffffffffffffff
tfffffffffffffffi
tttfffffffffffiii
tttttfffffffiiiii
tttttttfffiiiiiii
ttttttttiiiiiiiii
ttttttttiiiiiiiii
ttttttttiiiiiiiii
ttttttttiiiiiiiii
ttttttttiiiiiiiii
ttttttttiiiiiiiii
ttttttttiiiiiiiii
ttttttttiiiiiiiii
CCCCttttttiiiiiii;;;;
CCCCCCCCttttiiiii;;;;;;;;
CCCCCCCCCCCCttiii;;;;;;;;;;;;
CCCCCCCCCCCCCCCCi;;;;;;;;;;;;;;;;
LLCCCCCCCCCCCCCf::;;;;;;;;;;;;;,,
LLLLCCCCCCCCCfff::::;;;;;;;;;,,,,
LLLLLLCCCCCfffff::::::;;;;;,,,,,,
LLLLLLLLCfffffff::::::::;,,,,,,,,
LLLLLLLLffffffff:::::::::,,,,,,,,
LLLLLLLLffffffff:::::::::,,,,,,,,
LLLLLLLLffffffff:::::::::,,,,,,,,
LLLLLLLLffffffff:::::::::,,,,,,,,
LLLLLLLLffffffff:::::::::,,,,,,,,
LLLLLLLLffffffff:::::::::,,,,,,,,
LLLLLLLLffffffff:::::::::,,,,,,,,
LLLLLLLfffffff :::::::,,,,,,,
LLLLLfffff :::::,,,,,
LLLfff :::,,,
Lf :,
```## Usage
To run the program, use the following command:
```sh
cargo run --release --
```The program will output the ascii art to the terminal.
To see more options, use the `-h` flag:
```sh
cargo run --release -- -h
```