This is a simple tool written in Rust for converting images to ASCII art.
- Rust compiler (https://www.rust-lang.org/tools/install)
- Cargo package manager (included with Rust)
- Clone the repository:
git clone https://github.com/your-username/your-repository.git
- Navigate to the project directory:
cd image-to-ascii
- Build the project using Cargo:
cargo build --release
To run the program, execute the following command:
cargo run
IMPORTANT: The resolution parameter represents the divisor of the original image's dimensions. So, when you input a smaller value, such as 1, you effectively divide the original dimensions by 1, resulting in the original size. I recommend choosing a value between 1 and 10 (depending on your image's resolution).
The ASCII art will be saved to a file named output.txt in the current directory.